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

Unified Diff: LayoutTests/inspector/profiler/heap-snapshot.html

Issue 204563002: Remove WebInspector.HeapSnapshotArraySlice (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/profiler/heap-snapshot.html
diff --git a/LayoutTests/inspector/profiler/heap-snapshot.html b/LayoutTests/inspector/profiler/heap-snapshot.html
index f397f9e24003e808ffd1ba6b745d207cf967bf88..c2f5fcdb2aeb06055f5d2f3d5499c04d76180396 100644
--- a/LayoutTests/inspector/profiler/heap-snapshot.html
+++ b/LayoutTests/inspector/profiler/heap-snapshot.html
@@ -299,11 +299,11 @@ function test()
var root = snapshot.rootNode();
var rawEdges = root.rawEdges();
InspectorTest.assertEquals(6, rawEdges.length);
- InspectorTest.assertEquals(6, rawEdges.slice(0).length);
- InspectorTest.assertEquals(3, rawEdges.slice(3).length);
- InspectorTest.assertEquals(3, rawEdges.slice(3, 6).length);
- InspectorTest.assertEquals(3, rawEdges.slice(0, 3).length);
- InspectorTest.assertEquals(0, rawEdges.slice(3, 3).length);
+ InspectorTest.assertEquals(6, rawEdges.subarray(0).length);
+ InspectorTest.assertEquals(3, rawEdges.subarray(3).length);
+ InspectorTest.assertEquals(3, rawEdges.subarray(3, 6).length);
+ InspectorTest.assertEquals(3, rawEdges.subarray(0, 3).length);
+ InspectorTest.assertEquals(0, rawEdges.subarray(3, 3).length);
},
function heapSnapshotNodesProviderTest()
« no previous file with comments | « no previous file | LayoutTests/inspector/profiler/heap-snapshot-test.js » ('j') | Source/devtools/front_end/HeapSnapshot.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698