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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js

Issue 2573673002: DevTools: enable private field checks as a part of compilation. (Closed)
Patch Set: review comments addressed. Created 4 years 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/Source/devtools/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This script is supposed to be evaluated in dummy inspector front-end which is loaded from 1 // This script is supposed to be evaluated in dummy inspector front-end which is loaded from
2 // ../../../http/tests/inspector-protocol/resources/protocol-test.html and the r elative paths 2 // ../../../http/tests/inspector-protocol/resources/protocol-test.html and the r elative paths
3 // below are relative to that location. 3 // below are relative to that location.
4 4
5 if (!window.WebInspector) 5 if (!window.WebInspector)
6 window.WebInspector = {}; 6 window.WebInspector = {};
7 7
8 self['Common'] = {}; 8 self['Common'] = {};
9 self['Profiler'] = {}; 9 self['Profiler'] = {};
10 self['HeapSnapshotWorker'] = {}; 10 self['HeapSnapshotWorker'] = {};
11 11
12 InspectorTest.importScript("../../../../../Source/devtools/front_end/platform/ut ilities.js"); 12 InspectorTest.importScript("../../../../../Source/devtools/front_end/platform/ut ilities.js");
13 InspectorTest.importScript("../../../../../Source/devtools/front_end/common/UISt ring.js"); 13 InspectorTest.importScript("../../../../../Source/devtools/front_end/common/UISt ring.js");
14 InspectorTest.importScript("../../../../../Source/devtools/front_end/profiler/He apSnapshotCommon.js"); 14 InspectorTest.importScript("../../../../../Source/devtools/front_end/profiler/He apSnapshotCommon.js");
15 InspectorTest.importScript("../../../../../Source/devtools/front_end/heap_snapsh ot_worker/HeapSnapshot.js"); 15 InspectorTest.importScript("../../../../../Source/devtools/front_end/heap_snapsh ot_worker/HeapSnapshot.js");
16 InspectorTest.importScript("../../../../../Source/devtools/front_end/heap_snapsh ot_worker/JSHeapSnapshot.js");
17 InspectorTest.importScript("../../../../../Source/devtools/front_end/common/Text Utils.js"); 16 InspectorTest.importScript("../../../../../Source/devtools/front_end/common/Text Utils.js");
18 InspectorTest.importScript("../../../../../Source/devtools/front_end/heap_snapsh ot_worker/HeapSnapshotLoader.js"); 17 InspectorTest.importScript("../../../../../Source/devtools/front_end/heap_snapsh ot_worker/HeapSnapshotLoader.js");
19 18
20 InspectorTest.fail = function(message) 19 InspectorTest.fail = function(message)
21 { 20 {
22 InspectorTest.log("FAIL: " + message); 21 InspectorTest.log("FAIL: " + message);
23 InspectorTest.completeTest(); 22 InspectorTest.completeTest();
24 } 23 }
25 24
26 InspectorTest._takeHeapSnapshotInternal = function(command, callback) 25 InspectorTest._takeHeapSnapshotInternal = function(command, callback)
(...skipping 17 matching lines...) Expand all
44 43
45 InspectorTest.takeHeapSnapshot = function(callback) 44 InspectorTest.takeHeapSnapshot = function(callback)
46 { 45 {
47 InspectorTest._takeHeapSnapshotInternal("HeapProfiler.takeHeapSnapshot", cal lback); 46 InspectorTest._takeHeapSnapshotInternal("HeapProfiler.takeHeapSnapshot", cal lback);
48 } 47 }
49 48
50 InspectorTest.stopRecordingHeapTimeline = function(callback) 49 InspectorTest.stopRecordingHeapTimeline = function(callback)
51 { 50 {
52 InspectorTest._takeHeapSnapshotInternal("HeapProfiler.stopTrackingHeapObject s", callback); 51 InspectorTest._takeHeapSnapshotInternal("HeapProfiler.stopTrackingHeapObject s", callback);
53 } 52 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698