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 query: 'bbb|pre' contains namespaces, which are not supported. | 3 PASS: document.querySelector('bbb|pre') throws: NamespaceError: Failed to execut
e 'querySelector' on 'Document': 'bbb|pre' contains namespaces, which are not su
pported. |
4 PASS: document.querySelectorAll('bbb|pre') throws: NamespaceError: Failed to exe
cute query: 'bbb|pre' contains namespaces, which are not supported. | 4 PASS: document.querySelectorAll('bbb|pre') throws: NamespaceError: Failed to exe
cute 'querySelectorAll' on 'Document': 'bbb|pre' contains namespaces, which are
not supported. |
5 PASS: document.body.webkitMatchesSelector('bbb|pre') throws: NamespaceError: Fai
led to execute query: 'bbb|pre' contains namespaces, which are not supported. | 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. |
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 query: 'div bbb|pre' contains namespaces, which are not supported. | 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. |
13 PASS: document.querySelectorAll('div bbb|pre') throws: NamespaceError: Failed to
execute query: 'div bbb|pre' contains namespaces, which are not supported. | 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. |
14 PASS: document.body.webkitMatchesSelector('div bbb|pre') throws: NamespaceError:
Failed to execute query: 'div bbb|pre' contains namespaces, which are not suppo
rted. | 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. |
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 query: '[bbb|name=value]' contains namespaces, which are not supporte
d. | 21 PASS: document.querySelector('[bbb|name=value]') throws: NamespaceError: Failed
to execute 'querySelector' on 'Document': '[bbb|name=value]' contains namespaces
, which are not supported. |
22 PASS: document.querySelectorAll('[bbb|name=value]') throws: NamespaceError: Fail
ed to execute query: '[bbb|name=value]' contains namespaces, which are not suppo
rted. | 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. |
23 PASS: document.body.webkitMatchesSelector('[bbb|name=value]') throws: NamespaceE
rror: Failed to execute query: '[bbb|name=value]' contains namespaces, which are
not supported. | 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. |
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 query: ':-webkit-any(bbb|pre)' contains namespaces, which are no
t supported. | 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. |
31 PASS: document.querySelector('div [bbb|name=value]') throws: NamespaceError: Fai
led to execute query: 'div [bbb|name=value]' contains namespaces, which are not
supported. | 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. |
32 PASS: document.querySelectorAll('div [bbb|name=value]') throws: NamespaceError:
Failed to execute query: 'div [bbb|name=value]' contains namespaces, which are n
ot supported. | 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. |
33 PASS: document.body.webkitMatchesSelector('div [bbb|name=value]') throws: Namesp
aceError: Failed to execute query: 'div [bbb|name=value]' contains namespaces, w
hich are not supported. | 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. |
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 |