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

Unified Diff: LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 months 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/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt
diff --git a/LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt b/LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt
index 5df2b852653caeb071c377d36b073b83c3e34f73..d60bac5a1dc4cf5b56fc3adef3be5cd6b172bd92 100644
--- a/LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt
+++ b/LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt
@@ -1,36 +1,36 @@
This tests that we throw a NAMESPACE_ERR when parsing a selector string for querySelector and querySelectorAll that contains a namespace.
-PASS: document.querySelector('bbb|pre') throws: Error: NamespaceError: DOM Exception 14
-PASS: document.querySelectorAll('bbb|pre') throws: Error: NamespaceError: DOM Exception 14
-PASS: document.body.webkitMatchesSelector('bbb|pre') throws: Error: NamespaceError: DOM Exception 14
+PASS: document.querySelector('bbb|pre') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
+PASS: document.querySelectorAll('bbb|pre') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
+PASS: document.body.webkitMatchesSelector('bbb|pre') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
PASS: document.querySelector('*|pre') did not throw
PASS: document.querySelectorAll('*|pre') did not throw
PASS: document.body.webkitMatchesSelector('*|pre') did not throw
PASS: document.querySelector('|pre') did not throw
PASS: document.querySelectorAll('|pre') did not throw
PASS: document.body.webkitMatchesSelector('|pre') did not throw
-PASS: document.querySelector('div bbb|pre') throws: Error: NamespaceError: DOM Exception 14
-PASS: document.querySelectorAll('div bbb|pre') throws: Error: NamespaceError: DOM Exception 14
-PASS: document.body.webkitMatchesSelector('div bbb|pre') throws: Error: NamespaceError: DOM Exception 14
+PASS: document.querySelector('div bbb|pre') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
+PASS: document.querySelectorAll('div bbb|pre') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
+PASS: document.body.webkitMatchesSelector('div bbb|pre') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
PASS: document.querySelector('div *|pre') did not throw
PASS: document.querySelectorAll('div *|pre') did not throw
PASS: document.body.webkitMatchesSelector('div *|pre') did not throw
PASS: document.querySelector('div |pre') did not throw
PASS: document.querySelectorAll('div |pre') did not throw
PASS: document.body.webkitMatchesSelector('div |pre') did not throw
-PASS: document.querySelector('[bbb|name=value]') throws: Error: NamespaceError: DOM Exception 14
-PASS: document.querySelectorAll('[bbb|name=value]') throws: Error: NamespaceError: DOM Exception 14
-PASS: document.body.webkitMatchesSelector('[bbb|name=value]') throws: Error: NamespaceError: DOM Exception 14
+PASS: document.querySelector('[bbb|name=value]') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
+PASS: document.querySelectorAll('[bbb|name=value]') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
+PASS: document.body.webkitMatchesSelector('[bbb|name=value]') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
PASS: document.querySelector('[*|name=value]') did not throw
PASS: document.querySelectorAll('[*|name=value]') did not throw
PASS: document.body.webkitMatchesSelector('[*|name=value]') did not throw
PASS: document.querySelector('[|name=value]') did not throw
PASS: document.querySelectorAll('[|name=value]') did not throw
PASS: document.body.webkitMatchesSelector('[|name=value]') did not throw
-PASS: document.querySelector(':-webkit-any(bbb|pre)') throws: Error: NamespaceError: DOM Exception 14
-PASS: document.querySelector('div [bbb|name=value]') throws: Error: NamespaceError: DOM Exception 14
-PASS: document.querySelectorAll('div [bbb|name=value]') throws: Error: NamespaceError: DOM Exception 14
-PASS: document.body.webkitMatchesSelector('div [bbb|name=value]') throws: Error: NamespaceError: DOM Exception 14
+PASS: document.querySelector(':-webkit-any(bbb|pre)') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
+PASS: document.querySelector('div [bbb|name=value]') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
+PASS: document.querySelectorAll('div [bbb|name=value]') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
+PASS: document.body.webkitMatchesSelector('div [bbb|name=value]') throws: NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.
PASS: document.querySelector('div [*|name=value]') did not throw
PASS: document.querySelectorAll('div [*|name=value]') did not throw
PASS: document.body.webkitMatchesSelector('div [*|name=value]') did not throw

Powered by Google App Engine
This is Rietveld 408576698