Index: LayoutTests/fast/css/css3-nth-tokens-script.html |
diff --git a/LayoutTests/fast/css/css3-nth-tokens-script.html b/LayoutTests/fast/css/css3-nth-tokens-script.html |
index fdbac2ffd98b4c955b64e18884e3977372c05bf4..4baf94f97da51ad3a9960a3502dc1e1da7380598 100644 |
--- a/LayoutTests/fast/css/css3-nth-tokens-script.html |
+++ b/LayoutTests/fast/css/css3-nth-tokens-script.html |
@@ -55,13 +55,13 @@ shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('colo |
el = document.querySelector("span.c2:nth-of-type(even)"); |
shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('color')", "'rgb(0, 128, 0)'"); |
-shouldThrow('document.querySelector("span.c3:nth-of-type(n3)")', '"Error: SyntaxError: DOM Exception 12"'); |
+shouldThrow('document.querySelector("span.c3:nth-of-type(n3)")', '"SyntaxError: An invalid or illegal string was specified."'); |
-shouldThrow('document.querySelector("span.c3:nth-of-type(foo)")', '"Error: SyntaxError: DOM Exception 12"'); |
+shouldThrow('document.querySelector("span.c3:nth-of-type(foo)")', '"SyntaxError: An invalid or illegal string was specified."'); |
-shouldThrow('document.querySelector("span.c3:nth-of-type(2n3)")', '"Error: SyntaxError: DOM Exception 12"'); |
+shouldThrow('document.querySelector("span.c3:nth-of-type(2n3)")', '"SyntaxError: An invalid or illegal string was specified."'); |
-shouldThrow('document.querySelector("span.c3:nth-of-type(foon + bar)")', '"Error: SyntaxError: DOM Exception 12"'); |
+shouldThrow('document.querySelector("span.c3:nth-of-type(foon + bar)")', '"SyntaxError: An invalid or illegal string was specified."'); |
</script> |
<script src="../js/resources/js-test-post.js"></script> |
</body> |