Index: third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt |
index d7124ae8e27f9377c37de5e006424a63c0531137..5bed579358e40fd3dbb82972f69308f80580b1a8 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt |
+++ b/third_party/WebKit/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: NamespaceError: Failed to execute 'querySelector' on 'Document': 'bbb|pre' contains namespaces, which are not supported. |
-PASS: document.querySelectorAll('bbb|pre') throws: NamespaceError: Failed to execute 'querySelectorAll' on 'Document': 'bbb|pre' contains namespaces, which are not supported. |
-PASS: document.body.webkitMatchesSelector('bbb|pre') throws: NamespaceError: Failed to execute 'webkitMatchesSelector' on 'Element': 'bbb|pre' contains namespaces, which are not supported. |
+PASS: document.querySelector('bbb|pre') throws: SyntaxError: Failed to execute 'querySelector' on 'Document': 'bbb|pre' is not a valid selector. |
+PASS: document.querySelectorAll('bbb|pre') throws: SyntaxError: Failed to execute 'querySelectorAll' on 'Document': 'bbb|pre' is not a valid selector. |
+PASS: document.body.webkitMatchesSelector('bbb|pre') throws: SyntaxError: Failed to execute 'webkitMatchesSelector' on 'Element': 'bbb|pre' is not a valid selector. |
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: NamespaceError: Failed to execute 'querySelector' on 'Document': 'div bbb|pre' contains namespaces, which are not supported. |
-PASS: document.querySelectorAll('div bbb|pre') throws: NamespaceError: Failed to execute 'querySelectorAll' on 'Document': 'div bbb|pre' contains namespaces, which are not supported. |
-PASS: document.body.webkitMatchesSelector('div bbb|pre') throws: NamespaceError: Failed to execute 'webkitMatchesSelector' on 'Element': 'div bbb|pre' contains namespaces, which are not supported. |
+PASS: document.querySelector('div bbb|pre') throws: SyntaxError: Failed to execute 'querySelector' on 'Document': 'div bbb|pre' is not a valid selector. |
+PASS: document.querySelectorAll('div bbb|pre') throws: SyntaxError: Failed to execute 'querySelectorAll' on 'Document': 'div bbb|pre' is not a valid selector. |
+PASS: document.body.webkitMatchesSelector('div bbb|pre') throws: SyntaxError: Failed to execute 'webkitMatchesSelector' on 'Element': 'div bbb|pre' is not a valid selector. |
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: NamespaceError: Failed to execute 'querySelector' on 'Document': '[bbb|name=value]' contains namespaces, which are not supported. |
-PASS: document.querySelectorAll('[bbb|name=value]') throws: NamespaceError: Failed to execute 'querySelectorAll' on 'Document': '[bbb|name=value]' contains namespaces, which are not supported. |
-PASS: document.body.webkitMatchesSelector('[bbb|name=value]') throws: NamespaceError: Failed to execute 'webkitMatchesSelector' on 'Element': '[bbb|name=value]' contains namespaces, which are not supported. |
+PASS: document.querySelector('[bbb|name=value]') throws: SyntaxError: Failed to execute 'querySelector' on 'Document': '[bbb|name=value]' is not a valid selector. |
+PASS: document.querySelectorAll('[bbb|name=value]') throws: SyntaxError: Failed to execute 'querySelectorAll' on 'Document': '[bbb|name=value]' is not a valid selector. |
+PASS: document.body.webkitMatchesSelector('[bbb|name=value]') throws: SyntaxError: Failed to execute 'webkitMatchesSelector' on 'Element': '[bbb|name=value]' is not a valid selector. |
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: NamespaceError: Failed to execute 'querySelector' on 'Document': ':-webkit-any(bbb|pre)' contains namespaces, which are not supported. |
-PASS: document.querySelector('div [bbb|name=value]') throws: NamespaceError: Failed to execute 'querySelector' on 'Document': 'div [bbb|name=value]' contains namespaces, which are not supported. |
-PASS: document.querySelectorAll('div [bbb|name=value]') throws: NamespaceError: Failed to execute 'querySelectorAll' on 'Document': 'div [bbb|name=value]' contains namespaces, which are not supported. |
-PASS: document.body.webkitMatchesSelector('div [bbb|name=value]') throws: NamespaceError: Failed to execute 'webkitMatchesSelector' on 'Element': 'div [bbb|name=value]' contains namespaces, which are not supported. |
+PASS: document.querySelector(':-webkit-any(bbb|pre)') throws: SyntaxError: Failed to execute 'querySelector' on 'Document': ':-webkit-any(bbb|pre)' is not a valid selector. |
+PASS: document.querySelector('div [bbb|name=value]') throws: SyntaxError: Failed to execute 'querySelector' on 'Document': 'div [bbb|name=value]' is not a valid selector. |
+PASS: document.querySelectorAll('div [bbb|name=value]') throws: SyntaxError: Failed to execute 'querySelectorAll' on 'Document': 'div [bbb|name=value]' is not a valid selector. |
+PASS: document.body.webkitMatchesSelector('div [bbb|name=value]') throws: SyntaxError: Failed to execute 'webkitMatchesSelector' on 'Element': 'div [bbb|name=value]' is not a valid selector. |
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 |