1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-19 22:47:59 +01:00

Fix REPL with foreign window contexts. Other general cleanup.

This commit is contained in:
Kris Maglione
2011-09-05 08:46:31 -04:00
parent aa78825133
commit a5aafe63d9
6 changed files with 34 additions and 21 deletions

View File

@@ -761,7 +761,7 @@ var JavaScript = Module("javascript", {
init.supercall(this);
let self = this;
let sandbox = isinstance(context, ["Sandbox"]);
let sandbox = true || isinstance(context, ["Sandbox"]);
this.context = modules.newContext(context, !sandbox);
this.js = modules.JavaScript();