Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering 2015
DOI: 10.1145/2786805.2786820
|View full text |Cite
|
Sign up to set email alerts
|

Detecting JavaScript races that matter

Abstract: As JavaScript has become virtually omnipresent as the language for programming large and complex web applications in the last several years, we have seen an increase in interest in finding data races in client-side JavaScript. While JavaScript execution is single-threaded, there is still enough potential for data races, created largely by the nondeterminism of the scheduler. Recently, several academic efforts have explored both static and runtime analysis approaches in an effort to find data races. However, de… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
35
0

Year Published

2017
2017
2023
2023

Publication Types

Select...
5
2

Relationship

0
7

Authors

Journals

citations
Cited by 35 publications
(35 citation statements)
references
References 15 publications
0
35
0
Order By: Relevance
“…This means that, even with one thread, it is possible to have multiple different interleavings of promise reactions. There has been notable recent work on the detection of event races in JavaScript (see, e.g., Jensen et al [2015]; Mutlu et al [2015]; Petrov et al [2012]; Raychev et al [2013]), but, to our knowledge, none of this work explicitly considers promises.…”
Section: Related Workmentioning
confidence: 99%
“…This means that, even with one thread, it is possible to have multiple different interleavings of promise reactions. There has been notable recent work on the detection of event races in JavaScript (see, e.g., Jensen et al [2015]; Mutlu et al [2015]; Petrov et al [2012]; Raychev et al [2013]), but, to our knowledge, none of this work explicitly considers promises.…”
Section: Related Workmentioning
confidence: 99%
“…The R 4 tool [Jensen et al 2015] is based on EventRacer's trace construction and also fails to detect the error in the example. The tool by Mutlu et al [2015] only considers race errors that affect persistent storage, which is not the case for the error in this example (and for the two following examples).…”
Section: A Form-input-overwritten Errormentioning
confidence: 99%
“…Such races occur due to nondeterministic ordering of event handlers, for example when program behavior depends on whether a user event appears before or after a script has been loaded. Traditional testing is insufficient for discovering unexpected harmful event orderings, which has motivated the development of a range of powerful techniques and tools to detect event races automatically [Hong et al 2014;Ide et al 2009;Jensen et al 2015;Mutlu et al 2015;Petrov et al 2012;Raychev et al 2013;Wang et al 2016;Zheng et al 2011]. However, these existing approaches suffer from various limitations, which makes them unsuitable for production use.…”
Section: Introductionmentioning
confidence: 99%
See 2 more Smart Citations