2011 · 73 citations · 17 references
ComputingComputer ScienceProgramming LanguagesSystems ProgrammingWeb TechnologiesAsynchronous Web CommunicationClient-side ScriptingAjaxAsynchronous Request HandlingNetwork LatencyNetwork Latency Mitigation
Ajaxbecomesmoreandmoreimportantforwebapplications that care about client side user experience. It allows sending requests asynchronously, without blocking clients from continuing execution. Callback functions are only executed upon receiving the responses. While such mechanism makes browsing a smooth experience, it may cause severe problems in the presence of unexpected network latency, due to the non-determinism of asynchronism. In this paper, we demonstrate the possible problems caused by the asynchronism and propose a static program analysis to automatically detect such bugs in web applications. As client side Ajax code is often wrapped in server-side scripts, we also develop a technique that extracts client-side JavaScript code from server-side scripts. We evaluate our technique on a number of real-world web applications. Our results show that it can effectively identify real bugs. We also discuss possible ways to avoid such bugs.
17
Stefan Savage, Michael T. Burrows, Greg Nelson et al. · ACM Transactions on Computer Systems · 1997 · 1.6K citations · Full text
Hybrid dynamic data race detection
Robert O'Callahan, Jong-Deok Choi · 2003 · 432 citations
Effective static race detection for Java
Mayur Naik, Alex Aiken, John Whaley · 2006 · 426 citations · Full text
Effective static race detection for Java
Mayur Naik, Alex Aiken, John Whaley · ACM SIGPLAN Notices · 2006 · 417 citations · Full text
Shan Lu, Joseph Tucek, Feng Qin et al. · 2006 · 412 citations