| Index: third_party/WebKit/LayoutTests/inspector-protocol/meta/meta-getDomains.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.html b/third_party/WebKit/LayoutTests/inspector-protocol/meta/meta-getDomains.html
|
| similarity index 55%
|
| copy from third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.html
|
| copy to third_party/WebKit/LayoutTests/inspector-protocol/meta/meta-getDomains.html
|
| index e2e2b98a9809975a6db6e9a48f59d077ffee0398..f76434b4b91a4672d6e5d155ec7ff00a8be91e22 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-with-context-id-equal-zero.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/meta/meta-getDomains.html
|
| @@ -5,11 +5,10 @@
|
|
|
| function test()
|
| {
|
| - InspectorTest.sendCommand("Runtime.evaluate", { "contextId": 0, "expression": "" }, evaluateCallback);
|
| + InspectorTest.sendCommandOrDie("Meta.getDomains", {}, dumpAndFinish);
|
|
|
| - function evaluateCallback(result)
|
| + function dumpAndFinish(result)
|
| {
|
| - result.id = 0;
|
| InspectorTest.logObject(result);
|
| InspectorTest.completeTest();
|
| }
|
| @@ -17,6 +16,7 @@ function test()
|
| </script>
|
| </head>
|
| <body onLoad="runTest();">
|
| -Tests that DevTools doesn't crash on Runtime.evaluate with contextId equals 0.
|
| +Tests the meta.getDomains method.
|
| </body>
|
| </html>
|
| +
|
|
|