Lines Matching refs:stack
127 // in the stack trace produced when running the given function.
134 assertTrue(e.stack.indexOf(expected[i]) != -1,
135 name + " doesn't contain expected[" + i + "] stack = " + e.stack);
139 assertEquals(e.stack.indexOf(unexpected[i]), -1,
154 assertEquals(-1, e.stack.indexOf('at new ReferenceError'),
171 assertTrue(e.stack.indexOf('at new ReferenceError') != -1,
178 // If an error occurs while the stack trace is being formatted it should
190 assertTrue(e.stack.indexOf('<error: ReferenceError') != -1,
196 // the stack frame. Put that in your pipe and smoke it!
202 assertTrue(e.stack.indexOf('<error>') != -1,
215 // stack trace.
222 assertTrue(e.stack.indexOf(nativeFuncName) >= 0, nativeFuncName);
227 // stack trace.
234 assertTrue(e.stack.indexOf(nativeFuncName) >= 0, nativeFuncName);
244 assertTrue(e.stack.indexOf(omitted) < 0, omitted);
295 error.stack;
300 error.stack;
305 error.stack;
310 error.stack;
313 // Check that throwing exception in a custom stack trace formatting function
321 e.stack;
331 new Error().stack;