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() |