2013
DOI: 10.1007/978-3-642-39038-8_4
|View full text |Cite
|
Sign up to set email alerts
|

Combining Form and Function: Static Types for JQuery Programs

Abstract: Abstract. The jQuery library defines a powerful query language for web applications' scripts to interact with Web page content. This language is exposed as jQuery's a p i, which is implemented to fail silently so that incorrect queries will not cause the program to halt. Since the correctness of a query depends on the structure of a page, discrepancies between the page's actual structure and what the query expects will also result in failure, but with no error traces to indicate where the mismatch occurred. Th… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
14
0

Year Published

2013
2013
2016
2016

Publication Types

Select...
4
2
1

Relationship

1
6

Authors

Journals

citations
Cited by 17 publications
(15 citation statements)
references
References 15 publications
0
14
0
Order By: Relevance
“…Lerner et al [20] propose a system for type checking programs that use JQuery, a very sophisticated Javascript framework. The proposed type system has special support for JQuery's abstractions, making it quite effective in that domain.…”
Section: Related Workmentioning
confidence: 99%
“…Lerner et al [20] propose a system for type checking programs that use JQuery, a very sophisticated Javascript framework. The proposed type system has special support for JQuery's abstractions, making it quite effective in that domain.…”
Section: Related Workmentioning
confidence: 99%
“…JQuery Lerner et al [8] examine web programs written using the jQuery library. JQuery provides a higher-level A P I for selecting a set of document elements, navigating from a current set of elements to a new set, and then uniformly manipulating those selected elements in various ways.…”
Section: Violations Of Private Browsing In Extensionsmentioning
confidence: 99%
“…Additionally, we overrode two existing type constructors to enable them to use multiplicities. The types-definition module for the JQuery type system is (see [8] for the meaning of these constructions) The jQuery type system is approximately 5,770LOC (including the 1,600LOC of Bare boilerplate), and includes functionality (e.g., a decision procedure for CSS selectors) that integrates smoothly into the Base type system. Again, most Base functionality was directly reused, without any changes.…”
Section: Example: Adding New Kindsmentioning
confidence: 99%
See 1 more Smart Citation
“…The current state of the art is well surveyed by Andreasen and Møller [9], with the main tools in the field being WALA [50,54] and TAJS [9,28,27]. These tools (and others) provide traditional static analysis frameworks encompassing features such as points-to [26,54] and determinacy analysis [9,50], type inference [33,28] and security properties [23,24]. The modelling of the HTML DOM is generally treated as part of the heap abstraction [27,24] and thus the tree structure is not precisely tracked.…”
Section: Introductionmentioning
confidence: 99%