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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto.html

Issue 1995423002: [DevTools] Set vanilla object as console prototype (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-property-on-console-proto-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698