Backed out changeset b971b8137039 (bug 960108) for mochitest-bc orange.

This commit is contained in:
Ryan VanderMeulen 2014-01-16 10:25:19 -05:00
parent f091204480
commit 40d386d0f2

View File

@ -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;