blob: a8b1ca6d5c263c2493a99cce1fdc1ac407d12d33 [file] [log] [blame]
Tests that evaluation in console that throws works fine when script is paused.
Set timer for test function.
Dumping console messages:
injectedFunction()
debugger-eval-while-paused-throws.js:51 Uncaught Error: injectedObj.func
at Object.func (debugger-eval-while-paused-throws.js:51)
at injectedFunction (debugger-eval-while-paused-throws.js:54)
at eval (eval at testFunction (inspected-page.html:27), <anonymous>:1:1)
at testFunction (test.js:27)
func @ debugger-eval-while-paused-throws.js:51
injectedFunction @ debugger-eval-while-paused-throws.js:54
eval @ VM:1
testFunction @ test.js:27
setTimeout (async)
scheduleTestFunction @ VM:3
(anonymous) @ VM:1
localObj.func()
test.js:24 Uncaught Error: localObj.func
at Object.func (test.js:24)
at eval (eval at testFunction (inspected-page.html:27), <anonymous>:1:10)
at testFunction (test.js:27)
func @ test.js:24
eval @ VM:1
testFunction @ test.js:27
setTimeout (async)
scheduleTestFunction @ VM:3
(anonymous) @ VM:1
globalObj.func()
test.js:15 Uncaught Error: globalObj.func
at Object.func (test.js:15)
at eval (eval at testFunction (inspected-page.html:27), <anonymous>:1:11)
at testFunction (test.js:27)
func @ test.js:15
eval @ VM:1
testFunction @ test.js:27
setTimeout (async)
scheduleTestFunction @ VM:3
(anonymous) @ VM:1