Index: third_party/WebKit/LayoutTests/svg/dom/SVGLengthList-appendItemFromClearedList.html |
diff --git a/third_party/WebKit/LayoutTests/svg/dom/SVGLengthList-appendItemFromClearedList.html b/third_party/WebKit/LayoutTests/svg/dom/SVGLengthList-appendItemFromClearedList.html |
index 2e23d7c56c3fd2ec1f457bd5ea4372991af43a6e..2eede91c0d598924d4aac98ad03cc6c9673d1fe0 100644 |
--- a/third_party/WebKit/LayoutTests/svg/dom/SVGLengthList-appendItemFromClearedList.html |
+++ b/third_party/WebKit/LayoutTests/svg/dom/SVGLengthList-appendItemFromClearedList.html |
@@ -2,6 +2,7 @@ |
<title>SVGLengthList, appendItem() from cleared list</title> |
<script src="../../resources/testharness.js"></script> |
<script src="../../resources/testharnessreport.js"></script> |
+<script src="resources/SVGLengthList-helper.js"></script> |
<svg width="200" height="200"> |
<text id="text1" x="1 2 3">ABC</text> |
<text id="text2" x="10 20">ABC</text> |
@@ -19,12 +20,7 @@ test(function() { |
list1.appendItem(itemFromClearedList); |
- assert_equals(list1.numberOfItems, 4); |
- assert_equals(list1.getItem(0).value, 1); |
- assert_equals(list1.getItem(1).value, 2); |
- assert_equals(list1.getItem(2).value, 3); |
- assert_equals(list1.getItem(3).value, 10); |
- |
+ assert_list(list1, [1, 2, 3, 10]); |
assert_equals(list2.numberOfItems, 0); |
}); |
</script> |