bug870328.js (196B)
1 var g = newGlobal("same-compartment"); 2 try { 3 evalcx("'use strict'; (function() { x = 33; })()", g); 4 assertEq(0, 1); 5 } catch(e) { 6 assertEq(e.toString().includes("variable x"), true); 7 }
tor-browserThe Tor Browser | |
| git clone https://git.dasho.dev/tor-browser.git | |
| Log | Files | Refs | README | LICENSE |