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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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: Error: NamespaceError: DOM Excep tion 14 3 PASS: document.querySelector('bbb|pre') throws: NamespaceError: An attempt was m ade to create or change an object in a way which is incorrect with regard to nam espaces.
4 PASS: document.querySelectorAll('bbb|pre') throws: Error: NamespaceError: DOM Ex ception 14 4 PASS: document.querySelectorAll('bbb|pre') throws: NamespaceError: An attempt wa s made to create or change an object in a way which is incorrect with regard to namespaces.
5 PASS: document.body.webkitMatchesSelector('bbb|pre') throws: Error: NamespaceErr or: DOM Exception 14 5 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.
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: Error: NamespaceError: DOM E xception 14 12 PASS: document.querySelector('div bbb|pre') throws: NamespaceError: An attempt w as made to create or change an object in a way which is incorrect with regard to namespaces.
13 PASS: document.querySelectorAll('div bbb|pre') throws: Error: NamespaceError: DO M Exception 14 13 PASS: document.querySelectorAll('div bbb|pre') throws: NamespaceError: An attemp t was made to create or change an object in a way which is incorrect with regard to namespaces.
14 PASS: document.body.webkitMatchesSelector('div bbb|pre') throws: Error: Namespac eError: DOM Exception 14 14 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 w ith regard to namespaces.
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: Error: NamespaceError: DOM Exception 14 21 PASS: document.querySelector('[bbb|name=value]') throws: NamespaceError: An atte mpt was made to create or change an object in a way which is incorrect with rega rd to namespaces.
22 PASS: document.querySelectorAll('[bbb|name=value]') throws: Error: NamespaceErro r: DOM Exception 14 22 PASS: document.querySelectorAll('[bbb|name=value]') throws: NamespaceError: An a ttempt was made to create or change an object in a way which is incorrect with r egard to namespaces.
23 PASS: document.body.webkitMatchesSelector('[bbb|name=value]') throws: Error: Nam espaceError: DOM Exception 14 23 PASS: document.body.webkitMatchesSelector('[bbb|name=value]') throws: NamespaceE rror: An attempt was made to create or change an object in a way which is incorr ect with regard to namespaces.
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: Error: NamespaceEr ror: DOM Exception 14 30 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.
31 PASS: document.querySelector('div [bbb|name=value]') throws: Error: NamespaceErr or: DOM Exception 14 31 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.
32 PASS: document.querySelectorAll('div [bbb|name=value]') throws: Error: Namespace Error: DOM Exception 14 32 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 wi th regard to namespaces.
33 PASS: document.body.webkitMatchesSelector('div [bbb|name=value]') throws: Error: NamespaceError: DOM Exception 14 33 PASS: document.body.webkitMatchesSelector('div [bbb|name=value]') throws: Namesp aceError: An attempt was made to create or change an object in a way which is in correct with regard to namespaces.
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698