mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1237798 - Use correct Components object inside CommonJS. r=Yoric
This commit is contained in:
parent
f69918a6a8
commit
15b860fec2
@ -188,7 +188,7 @@ var PendingErrors = {
|
||||
stack = error.location;
|
||||
} else {
|
||||
// Components.stack to the rescue!
|
||||
stack = Components.stack;
|
||||
stack = Components_.stack;
|
||||
// Remove those top frames that refer to Promise.jsm.
|
||||
while (stack) {
|
||||
if (!stack.filename.endsWith("/Promise.jsm")) {
|
||||
|
Loading…
Reference in New Issue
Block a user