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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-without-enabling.html

Issue 2954093003: [DevTools] Migrate inspector-protocol/runtime tests to new harness (Closed)
Patch Set: fail: Created 3 years, 5 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
(Empty)
1 <html>
2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
4 <script>
5
6 window.dummyObject = { a : 1 };
7
8 function test()
9 {
10 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "window.dummyO bject" }, evaluateCallback);
11
12 function evaluateCallback(result)
13 {
14 InspectorTest.navigate("runtime-evaluate-without-enabling.html", reloadC allback.bind(null, result.result.result.objectId));
15 }
16
17 function reloadCallback(remoteObjectId)
18 {
19 InspectorTest.sendCommand("Runtime.getProperties", { objectId: remoteObj ectId, ownProperties: true }, getPropertiesCallback);
20 }
21
22 function getPropertiesCallback(result)
23 {
24 result.id = 0;
25 InspectorTest.logObject(result);
26 InspectorTest.completeTest();
27 }
28 }
29 </script>
30 </head>
31 <body onLoad="runTest();">
32 Tests that default execution context accessed without enabling Runtime domain ge ts properly cleaned up on reload.
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698