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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-in-default-context.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 function test()
7 {
8 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "window.a" }, evaluateCallback);
9
10 function evaluateCallback(result)
11 {
12 result.id = 0;
13 InspectorTest.logObject(result);
14 InspectorTest.completeTest();
15 }
16 }
17 </script>
18 </head>
19 <body>
20 Tests that default execution context is selected correctly.
21 <iframe src="resources/runtime-events-iframe.html" onLoad="runTest();"></iframe>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698