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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/worker/exception-from-worker-contains-stack.html

Issue 2951643002: [DevTools] Prepare inspector-protocol tests to new test runner (Closed)
Patch Set: css3/fonts 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 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
4 <script> 4 <script>
5 5
6 var worker1; 6 var worker1;
7 var worker2; 7 var worker2;
8 8
9 function startWorkers() 9 function startWorkers()
10 { 10 {
11 worker1 = new Worker("resources/worker-with-throw.js"); 11 worker1 = new Worker("resources/worker-with-throw.js");
12 worker1.onerror = function(e) { 12 worker1.onerror = function(e) {
13 e.preventDefault(); 13 e.preventDefault();
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 InspectorTest.eventHandler["Target.detachedFromTarget"] = undefined; 66 InspectorTest.eventHandler["Target.detachedFromTarget"] = undefined;
67 workerTerminated = true; 67 workerTerminated = true;
68 if (messageReceived && workerTerminated) 68 if (messageReceived && workerTerminated)
69 InspectorTest.completeTest(); 69 InspectorTest.completeTest();
70 } 70 }
71 } 71 }
72 </script> 72 </script>
73 </head> 73 </head>
74 <body onload="runTest()">Tests that console message from worker contains stack t race.</body> 74 <body onload="runTest()">Tests that console message from worker contains stack t race.</body>
75 </html> 75 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698