mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 11:18:00 +01:00
Fix TraceMonkey Sandbox-returned object prototype bug workaround hack for JS completion of indirectly accessed properties.
This commit is contained in:
@@ -256,7 +256,7 @@ const JavaScript = Module("javascript", {
|
||||
_getObj: function (frame, stop) {
|
||||
let statement = this._get(frame, 0, "statements") || 0; // Current statement.
|
||||
let prev = statement;
|
||||
let obj = null;
|
||||
let obj = window;
|
||||
let cacheKey;
|
||||
for (let [, dot] in Iterator(this._get(frame).dots.concat(stop))) {
|
||||
if (dot < statement)
|
||||
|
||||
Reference in New Issue
Block a user