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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/page/createIsolatedWorld.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 function test() 6 function test()
7 { 7 {
8 var mainFrameId = ""; 8 var mainFrameId = "";
9 InspectorTest.eventHandler["Runtime.executionContextCreated"] = 9 InspectorTest.eventHandler["Runtime.executionContextCreated"] =
10 function(message) { 10 function(message) {
11 if (message.params.context.auxData.frameId !== mainFrameId) 11 if (message.params.context.auxData.frameId !== mainFrameId)
12 return; 12 return;
13 if (message.params.context.auxData.isDefault === false && 13 if (message.params.context.auxData.isDefault === false &&
(...skipping 30 matching lines...) Expand all
44 InspectorTest.sendCommandOrDie("Page.createIsolatedWorld", { 44 InspectorTest.sendCommandOrDie("Page.createIsolatedWorld", {
45 frameId: mainFrameId, worldName: "Test world"}); 45 frameId: mainFrameId, worldName: "Test world"});
46 } 46 }
47 } 47 }
48 48
49 </script> 49 </script>
50 </head> 50 </head>
51 <body onload="runTest()"> 51 <body onload="runTest()">
52 </body> 52 </body>
53 </html> 53 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698