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

Side by Side Diff: test/inspector/runtime/property-on-console-proto.js

Issue 2379303002: Revert "[inspector] added inspector test runner [part 3-5]" (Closed)
Patch Set: Created 4 years, 2 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 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 print("Tests that property defined on console.__proto__ doesn't observable on ot her Objects.");
6
7 InspectorTest.evaluateInPage(`
8 function testFunction()
9 {
10 var amountOfProperties = 0;
11 for (var p in {})
12 ++amountOfProperties;
13 console.__proto__.debug = 239;
14 for (var p in {})
15 --amountOfProperties;
16 return amountOfProperties;
17 }`);
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698