mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 860438 - Add assertion back in. r=gabor
This commit is contained in:
parent
334259c166
commit
9630812ba7
@ -3196,7 +3196,8 @@ nsCxPusher::Pop()
|
||||
// pop is the same as it was right after we pushed.
|
||||
MOZ_ASSERT_IF(mPushedContext, mCompartmentDepthOnEntry ==
|
||||
js::GetEnterCompartmentDepth(mPushedContext));
|
||||
|
||||
DebugOnly<JSContext*> stackTop;
|
||||
MOZ_ASSERT(NS_SUCCEEDED(stack->Peek(&stackTop)) && mPushedContext == stackTop);
|
||||
stack->Pop(nullptr);
|
||||
|
||||
if (!mScriptIsRunning && mScx) {
|
||||
|
Loading…
Reference in New Issue
Block a user