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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user