ed2e7eb92d
This method was experimental and deprecated for a while. R=dgozman@chromium.org Bug: none Change-Id: I7d5a13a83f36ecc7a92300f690dff5c8bb26f8de Reviewed-on: https://chromium-review.googlesource.com/c/1354182 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#57920}
47 lines
798 B
Plaintext
47 lines
798 B
Plaintext
Checks Debugger.pauseOnAsynCall with setTimeout.
|
|
|
|
Running test: testSetTimeout
|
|
paused at:
|
|
debugger; #setTimeout(() => 1, 0);
|
|
|
|
paused at:
|
|
debugger; setTimeout(() => #1, 0);
|
|
|
|
|
|
Running test: testDebuggerStmtBeforeCallback1
|
|
paused at:
|
|
debugger; #setTimeout(() => 1, 0);debugger;
|
|
|
|
paused at:
|
|
debugger; setTimeout(() => 1, 0);#debugger;
|
|
|
|
paused at:
|
|
#debugger//should-break-here
|
|
|
|
|
|
Running test: testDebuggerStmtBeforeCallback2
|
|
paused at:
|
|
setTimeout('debugger//should-break-here', 0);
|
|
#setTimeout(() => 1, 0);
|
|
|
|
paused at:
|
|
#debugger//should-break-here
|
|
|
|
|
|
Running test: testSetTimeoutWithoutJS
|
|
paused at:
|
|
debugger; #setTimeout('}', 0);
|
|
setTimeout('var a = 239;', 0);
|
|
|
|
paused at:
|
|
#debugger//should-break-here
|
|
|
|
|
|
Running test: testResume
|
|
paused at:
|
|
#setTimeout(() => 42, 0)
|
|
|
|
paused at:
|
|
setTimeout(() => #42, 0)
|
|
|