OLD | NEW |
1 This tests that we throw a NAMESPACE_ERR when parsing a selector string for quer
ySelector and querySelectorAll that contains a namespace. | 1 This tests that we throw a NAMESPACE_ERR when parsing a selector string for quer
ySelector and querySelectorAll that contains a namespace. |
2 | 2 |
3 PASS: document.querySelector('bbb|pre') throws: NamespaceError: Failed to execut
e 'querySelector' on 'Document': 'bbb|pre' contains namespaces, which are not su
pported. | 3 PASS: document.querySelector('bbb|pre') throws: SyntaxError: Failed to execute '
querySelector' on 'Document': 'bbb|pre' is not a valid selector. |
4 PASS: document.querySelectorAll('bbb|pre') throws: NamespaceError: Failed to exe
cute 'querySelectorAll' on 'Document': 'bbb|pre' contains namespaces, which are
not supported. | 4 PASS: document.querySelectorAll('bbb|pre') throws: SyntaxError: Failed to execut
e 'querySelectorAll' on 'Document': 'bbb|pre' is not a valid selector. |
5 PASS: document.body.webkitMatchesSelector('bbb|pre') throws: NamespaceError: Fai
led to execute 'webkitMatchesSelector' on 'Element': 'bbb|pre' contains namespac
es, which are not supported. | 5 PASS: document.body.webkitMatchesSelector('bbb|pre') throws: SyntaxError: Failed
to execute 'webkitMatchesSelector' on 'Element': 'bbb|pre' is not a valid selec
tor. |
6 PASS: document.querySelector('*|pre') did not throw | 6 PASS: document.querySelector('*|pre') did not throw |
7 PASS: document.querySelectorAll('*|pre') did not throw | 7 PASS: document.querySelectorAll('*|pre') did not throw |
8 PASS: document.body.webkitMatchesSelector('*|pre') did not throw | 8 PASS: document.body.webkitMatchesSelector('*|pre') did not throw |
9 PASS: document.querySelector('|pre') did not throw | 9 PASS: document.querySelector('|pre') did not throw |
10 PASS: document.querySelectorAll('|pre') did not throw | 10 PASS: document.querySelectorAll('|pre') did not throw |
11 PASS: document.body.webkitMatchesSelector('|pre') did not throw | 11 PASS: document.body.webkitMatchesSelector('|pre') did not throw |
12 PASS: document.querySelector('div bbb|pre') throws: NamespaceError: Failed to ex
ecute 'querySelector' on 'Document': 'div bbb|pre' contains namespaces, which ar
e not supported. | 12 PASS: document.querySelector('div bbb|pre') throws: SyntaxError: Failed to execu
te 'querySelector' on 'Document': 'div bbb|pre' is not a valid selector. |
13 PASS: document.querySelectorAll('div bbb|pre') throws: NamespaceError: Failed to
execute 'querySelectorAll' on 'Document': 'div bbb|pre' contains namespaces, wh
ich are not supported. | 13 PASS: document.querySelectorAll('div bbb|pre') throws: SyntaxError: Failed to ex
ecute 'querySelectorAll' on 'Document': 'div bbb|pre' is not a valid selector. |
14 PASS: document.body.webkitMatchesSelector('div bbb|pre') throws: NamespaceError:
Failed to execute 'webkitMatchesSelector' on 'Element': 'div bbb|pre' contains
namespaces, which are not supported. | 14 PASS: document.body.webkitMatchesSelector('div bbb|pre') throws: SyntaxError: Fa
iled to execute 'webkitMatchesSelector' on 'Element': 'div bbb|pre' is not a val
id selector. |
15 PASS: document.querySelector('div *|pre') did not throw | 15 PASS: document.querySelector('div *|pre') did not throw |
16 PASS: document.querySelectorAll('div *|pre') did not throw | 16 PASS: document.querySelectorAll('div *|pre') did not throw |
17 PASS: document.body.webkitMatchesSelector('div *|pre') did not throw | 17 PASS: document.body.webkitMatchesSelector('div *|pre') did not throw |
18 PASS: document.querySelector('div |pre') did not throw | 18 PASS: document.querySelector('div |pre') did not throw |
19 PASS: document.querySelectorAll('div |pre') did not throw | 19 PASS: document.querySelectorAll('div |pre') did not throw |
20 PASS: document.body.webkitMatchesSelector('div |pre') did not throw | 20 PASS: document.body.webkitMatchesSelector('div |pre') did not throw |
21 PASS: document.querySelector('[bbb|name=value]') throws: NamespaceError: Failed
to execute 'querySelector' on 'Document': '[bbb|name=value]' contains namespaces
, which are not supported. | 21 PASS: document.querySelector('[bbb|name=value]') throws: SyntaxError: Failed to
execute 'querySelector' on 'Document': '[bbb|name=value]' is not a valid selecto
r. |
22 PASS: document.querySelectorAll('[bbb|name=value]') throws: NamespaceError: Fail
ed to execute 'querySelectorAll' on 'Document': '[bbb|name=value]' contains name
spaces, which are not supported. | 22 PASS: document.querySelectorAll('[bbb|name=value]') throws: SyntaxError: Failed
to execute 'querySelectorAll' on 'Document': '[bbb|name=value]' is not a valid s
elector. |
23 PASS: document.body.webkitMatchesSelector('[bbb|name=value]') throws: NamespaceE
rror: Failed to execute 'webkitMatchesSelector' on 'Element': '[bbb|name=value]'
contains namespaces, which are not supported. | 23 PASS: document.body.webkitMatchesSelector('[bbb|name=value]') throws: SyntaxErro
r: Failed to execute 'webkitMatchesSelector' on 'Element': '[bbb|name=value]' is
not a valid selector. |
24 PASS: document.querySelector('[*|name=value]') did not throw | 24 PASS: document.querySelector('[*|name=value]') did not throw |
25 PASS: document.querySelectorAll('[*|name=value]') did not throw | 25 PASS: document.querySelectorAll('[*|name=value]') did not throw |
26 PASS: document.body.webkitMatchesSelector('[*|name=value]') did not throw | 26 PASS: document.body.webkitMatchesSelector('[*|name=value]') did not throw |
27 PASS: document.querySelector('[|name=value]') did not throw | 27 PASS: document.querySelector('[|name=value]') did not throw |
28 PASS: document.querySelectorAll('[|name=value]') did not throw | 28 PASS: document.querySelectorAll('[|name=value]') did not throw |
29 PASS: document.body.webkitMatchesSelector('[|name=value]') did not throw | 29 PASS: document.body.webkitMatchesSelector('[|name=value]') did not throw |
30 PASS: document.querySelector(':-webkit-any(bbb|pre)') throws: NamespaceError: Fa
iled to execute 'querySelector' on 'Document': ':-webkit-any(bbb|pre)' contains
namespaces, which are not supported. | 30 PASS: document.querySelector(':-webkit-any(bbb|pre)') throws: SyntaxError: Faile
d to execute 'querySelector' on 'Document': ':-webkit-any(bbb|pre)' is not a val
id selector. |
31 PASS: document.querySelector('div [bbb|name=value]') throws: NamespaceError: Fai
led to execute 'querySelector' on 'Document': 'div [bbb|name=value]' contains na
mespaces, which are not supported. | 31 PASS: document.querySelector('div [bbb|name=value]') throws: SyntaxError: Failed
to execute 'querySelector' on 'Document': 'div [bbb|name=value]' is not a valid
selector. |
32 PASS: document.querySelectorAll('div [bbb|name=value]') throws: NamespaceError:
Failed to execute 'querySelectorAll' on 'Document': 'div [bbb|name=value]' conta
ins namespaces, which are not supported. | 32 PASS: document.querySelectorAll('div [bbb|name=value]') throws: SyntaxError: Fai
led to execute 'querySelectorAll' on 'Document': 'div [bbb|name=value]' is not a
valid selector. |
33 PASS: document.body.webkitMatchesSelector('div [bbb|name=value]') throws: Namesp
aceError: Failed to execute 'webkitMatchesSelector' on 'Element': 'div [bbb|name
=value]' contains namespaces, which are not supported. | 33 PASS: document.body.webkitMatchesSelector('div [bbb|name=value]') throws: Syntax
Error: Failed to execute 'webkitMatchesSelector' on 'Element': 'div [bbb|name=va
lue]' is not a valid selector. |
34 PASS: document.querySelector('div [*|name=value]') did not throw | 34 PASS: document.querySelector('div [*|name=value]') did not throw |
35 PASS: document.querySelectorAll('div [*|name=value]') did not throw | 35 PASS: document.querySelectorAll('div [*|name=value]') did not throw |
36 PASS: document.body.webkitMatchesSelector('div [*|name=value]') did not throw | 36 PASS: document.body.webkitMatchesSelector('div [*|name=value]') did not throw |
37 PASS: document.querySelector('div [|name=value]') did not throw | 37 PASS: document.querySelector('div [|name=value]') did not throw |
38 PASS: document.querySelectorAll('div [|name=value]') did not throw | 38 PASS: document.querySelectorAll('div [|name=value]') did not throw |
39 PASS: document.body.webkitMatchesSelector('div [|name=value]') did not throw | 39 PASS: document.body.webkitMatchesSelector('div [|name=value]') did not throw |
40 | 40 |
OLD | NEW |