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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/meta/meta-getDomains.html

Issue 2253383002: [DevTools] Schema domain implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/inspecto r-protocol-test.js"></script>
4 <script> 4 <script>
5 5
6 function test() 6 function test()
7 { 7 {
8 InspectorTest.sendCommand("Runtime.evaluate", { "contextId": 0, "expression" : "" }, evaluateCallback); 8 InspectorTest.sendCommandOrDie("Meta.getDomains", {}, dumpAndFinish);
9 9
10 function evaluateCallback(result) 10 function dumpAndFinish(result)
11 { 11 {
12 result.id = 0;
13 InspectorTest.logObject(result); 12 InspectorTest.logObject(result);
14 InspectorTest.completeTest(); 13 InspectorTest.completeTest();
15 } 14 }
16 } 15 }
17 </script> 16 </script>
18 </head> 17 </head>
19 <body onLoad="runTest();"> 18 <body onLoad="runTest();">
20 Tests that DevTools doesn't crash on Runtime.evaluate with contextId equals 0. 19 Tests the meta.getDomains method.
21 </body> 20 </body>
22 </html> 21 </html>
22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698