Sciweavers

ECOOP
2012
Springer

Enhancing JavaScript with Transactions

12 years 2 months ago
Enhancing JavaScript with Transactions
Abstract. Transcript is a system that enhances JavaScript with support for transactions. Hosting Web applications can use transactions to demarcate regions that contain untrusted guest code. Actions performed within a transaction are logged and considered speculative until they are examined by the host and committed. Uncommitted actions simply do not take and cannot affect the host in any way. Transcript therefore provides hosting Web applications with powerful mechanisms to understand the behavior of untrusted guests, mediate their actions and also cleanly recover from the effects of security-violating guest code. This paper describes the design of Transcript and its implementation in Firefox. Our exposition focuses on the novel features introduced by Transcript to support transactions, including a suspend/resume mechanism for JavaScript and support for speculative DOM updates. Our evaluation presents case studies showing that Transcript can be used to enforce powerful security poli...
Mohan Dhawan, Chung-chieh Shan, Vinod Ganapathy
Added 28 Sep 2012
Updated 28 Sep 2012
Type Journal
Year 2012
Where ECOOP
Authors Mohan Dhawan, Chung-chieh Shan, Vinod Ganapathy
Comments (0)