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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto.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 testFunction()
7 {
8 var amountOfProperties = 0;
9 for (var p in {})
10 ++amountOfProperties;
11 console.__proto__.debug = 239;
12 for (var p in {})
13 --amountOfProperties;
14 return amountOfProperties;
15 }
16
17 function test()
18 {
19 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "testFunction( )" }, dumpResult);
20
21 function dumpResult(result)
22 {
23 result.id = 0;
24 InspectorTest.logObject(result);
25 InspectorTest.completeTest();
26 }
27 }
28 </script>
29 </head>
30 <body onLoad="runTest();">
31 Tests that property defined on console.__proto__ doesn't observable on other Obj ects.
32 </body>
33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698