mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-13 22:35:46 +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) {
|
_getObj: function (frame, stop) {
|
||||||
let statement = this._get(frame, 0, "statements") || 0; // Current statement.
|
let statement = this._get(frame, 0, "statements") || 0; // Current statement.
|
||||||
let prev = statement;
|
let prev = statement;
|
||||||
let obj = null;
|
let obj = window;
|
||||||
let cacheKey;
|
let cacheKey;
|
||||||
for (let [, dot] in Iterator(this._get(frame).dots.concat(stop))) {
|
for (let [, dot] in Iterator(this._get(frame).dots.concat(stop))) {
|
||||||
if (dot < statement)
|
if (dot < statement)
|
||||||
|
|||||||
Reference in New Issue
Block a user