Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/resources/worker-with-throw.js

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 function foo() 1 function foo()
2 { 2 {
3 throw new Error(); 3 throw new Error();
4 } 4 }
5 5
6 function boo1() 6 function boo1()
7 { 7 {
8 foo(); 8 foo();
9 } 9 }
10 10
11 function boo2() 11 function boo2()
12 { 12 {
13 foo(); 13 foo();
14 } 14 }
15 15
16 onmessage = function(event) { 16 onmessage = function(event) {
17 if (event.data === 42) 17 if (event.data === 42)
18 boo1(); 18 boo1();
19 else 19 else
20 boo2(); 20 boo2();
21 }; 21 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698