Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: LayoutTests/fast/css/css3-nth-tokens-script.html

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698