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

Side by Side Diff: test/inspector/debugger/object-preview-internal-properties.js

Issue 2713023004: [inspector] added reconnect method for tests (Closed)
Patch Set: rebased Created 3 years, 9 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 | « test/inspector/debugger/inspector-break-api.js ('k') | test/inspector/debugger/pause-on-oom.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 print("Check internal properties reported in object preview."); 5 InspectorTest.log("Check internal properties reported in object preview.");
6 6
7 Protocol.Debugger.enable(); 7 Protocol.Debugger.enable();
8 Protocol.Runtime.enable(); 8 Protocol.Runtime.enable();
9 Protocol.Runtime.onConsoleAPICalled(dumpInternalPropertiesAndEntries); 9 Protocol.Runtime.onConsoleAPICalled(dumpInternalPropertiesAndEntries);
10 10
11 InspectorTest.runTestSuite([ 11 InspectorTest.runTestSuite([
12 function boxedObjects(next) 12 function boxedObjects(next)
13 { 13 {
14 checkExpression("new Number(239)") 14 checkExpression("new Number(239)")
15 .then(() => checkExpression("new Boolean(false)")) 15 .then(() => checkExpression("new Boolean(false)"))
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 for (var property of properties) { 98 for (var property of properties) {
99 if (property.name.startsWith("[[")) 99 if (property.name.startsWith("[["))
100 InspectorTest.logMessage(property); 100 InspectorTest.logMessage(property);
101 } 101 }
102 if (entries) { 102 if (entries) {
103 InspectorTest.log("[[Entries]]:"); 103 InspectorTest.log("[[Entries]]:");
104 InspectorTest.logMessage(entries); 104 InspectorTest.logMessage(entries);
105 } 105 }
106 InspectorTest.log(""); 106 InspectorTest.log("");
107 } 107 }
OLDNEW
« no previous file with comments | « test/inspector/debugger/inspector-break-api.js ('k') | test/inspector/debugger/pause-on-oom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698