1
0
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:
Kris Maglione
2010-11-11 11:12:11 -05:00
parent 7ee4ecc3bf
commit 3d6914c65b

View File

@@ -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)