diff --git a/content/svg/content/src/DOMSVGStringList.cpp b/content/svg/content/src/DOMSVGStringList.cpp
index 7e7614d5b68..3c743c5dfd6 100644
--- a/content/svg/content/src/DOMSVGStringList.cpp
+++ b/content/svg/content/src/DOMSVGStringList.cpp
@@ -99,6 +99,12 @@ DOMSVGStringList::GetNumberOfItems(PRUint32 *aNumberOfItems)
return NS_OK;
}
+NS_IMETHODIMP
+DOMSVGStringList::GetLength(PRUint32 *aLength)
+{
+ return GetNumberOfItems(aLength);
+}
+
NS_IMETHODIMP
DOMSVGStringList::Clear()
{
diff --git a/content/svg/content/test/test_SVGxxxListIndexing.xhtml b/content/svg/content/test/test_SVGxxxListIndexing.xhtml
index bd29382f719..b0448257c91 100644
--- a/content/svg/content/test/test_SVGxxxListIndexing.xhtml
+++ b/content/svg/content/test/test_SVGxxxListIndexing.xhtml
@@ -13,7 +13,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=631437
abcde
-
+