mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1245671: Fix Assert.rejects on release builds with DOM promises. r=markh
This commit is contained in:
parent
848229ab45
commit
46c84a406d
@ -109,7 +109,7 @@ Assert.AssertionError = function(options) {
|
||||
let stack = Components.stack;
|
||||
do {
|
||||
stack = stack.asyncCaller || stack.caller;
|
||||
} while(stack.filename && stack.filename.includes("Assert.jsm"))
|
||||
} while(stack && stack.filename && stack.filename.includes("Assert.jsm"))
|
||||
this.stack = stack;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user