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 4753c27ab9f27dd07e2a878495657531d78a2481..c0d81de98965d23f1d8b96736ac9705245368b4a 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)")', '"SyntaxError: Failed to execute query: \'span.c3:nth-of-type(n3)\' is not a valid selector."'); |
+shouldThrow('document.querySelector("span.c3:nth-of-type(n3)")', '"SyntaxError: Failed to execute \'querySelector\' on \'Document\': \'span.c3:nth-of-type(n3)\' is not a valid selector."'); |
-shouldThrow('document.querySelector("span.c3:nth-of-type(foo)")', '"SyntaxError: Failed to execute query: \'span.c3:nth-of-type(foo)\' is not a valid selector."'); |
+shouldThrow('document.querySelector("span.c3:nth-of-type(foo)")', '"SyntaxError: Failed to execute \'querySelector\' on \'Document\': \'span.c3:nth-of-type(foo)\' is not a valid selector."'); |
-shouldThrow('document.querySelector("span.c3:nth-of-type(2n3)")', '"SyntaxError: Failed to execute query: \'span.c3:nth-of-type(2n3)\' is not a valid selector."'); |
+shouldThrow('document.querySelector("span.c3:nth-of-type(2n3)")', '"SyntaxError: Failed to execute \'querySelector\' on \'Document\': \'span.c3:nth-of-type(2n3)\' is not a valid selector."'); |
-shouldThrow('document.querySelector("span.c3:nth-of-type(foon + bar)")', '"SyntaxError: Failed to execute query: \'span.c3:nth-of-type(foon + bar)\' is not a valid selector."'); |
+shouldThrow('document.querySelector("span.c3:nth-of-type(foon + bar)")', '"SyntaxError: Failed to execute \'querySelector\' on \'Document\': \'span.c3:nth-of-type(foon + bar)\' is not a valid selector."'); |
</script> |
</body> |
</html> |