mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset b971b8137039 (bug 960108) for mochitest-bc orange.
This commit is contained in:
parent
f091204480
commit
40d386d0f2
@ -934,10 +934,7 @@ JS::DescribeStack(JSContext *cx, unsigned maxFrames)
|
||||
{
|
||||
Vector<FrameDescription> frames(cx);
|
||||
|
||||
for (NonBuiltinScriptFrameIter i(cx, ScriptFrameIter::ALL_CONTEXTS,
|
||||
ScriptFrameIter::GO_THROUGH_SAVED,
|
||||
cx->compartment()->principals);
|
||||
!i.done(); ++i) {
|
||||
for (NonBuiltinScriptFrameIter i(cx); !i.done(); ++i) {
|
||||
FrameDescription desc(i.script(), i.maybeCallee(), i.pc());
|
||||
if (!frames.append(desc))
|
||||
return nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user