mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 774245 - Re-implement moz_bug_r_a4 trickery. r=mrbkap
In the next patch, we drop support for lookupMethod for location objects, since the security policy there is tricky and location objects are already unshadowable Xray wrappers.
This commit is contained in:
parent
217bf3edb0
commit
447940c906
@ -25,7 +25,7 @@
|
||||
return flip++ == 0 ? chromeUrl : exploitUrl;
|
||||
};
|
||||
|
||||
var href = Components.lookupMethod(frames[1].location, "href");
|
||||
var href = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(frames[1].location), "href").get;
|
||||
var loadChrome = { handleEvent: href };
|
||||
var loadExploit = { handleEvent: href };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user