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

Side by Side Diff: LayoutTests/fast/dom/node-prefix-setter-namespace-exception-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 Test how Node.prefix setter raises NAMESPACE_ERR. 1 Test how Node.prefix setter raises NAMESPACE_ERR.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS href.prefix is null 6 PASS href.prefix is null
7 PASS document.createAttribute('attr').prefix = 'abc' threw exception Error: Name spaceError: DOM Exception 14. 7 PASS document.createAttribute('attr').prefix = 'abc' threw exception NamespaceEr ror: An attempt was made to create or change an object in a way which is incorre ct with regard to namespaces..
8 PASS document.createAttributeNS(null, 'attr').prefix = 'abc' threw exception Err or: NamespaceError: DOM Exception 14. 8 PASS document.createAttributeNS(null, 'attr').prefix = 'abc' threw exception Nam espaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces..
9 PASS document.createElementNS(null, 'attr').prefix = 'abc' threw exception Error : NamespaceError: DOM Exception 14. 9 PASS document.createElementNS(null, 'attr').prefix = 'abc' threw exception Names paceError: An attempt was made to create or change an object in a way which is i ncorrect with regard to namespaces..
10 PASS document.createAttributeNS('foo', 'bar').prefix = 'xml' threw exception Err or: NamespaceError: DOM Exception 14. 10 PASS document.createAttributeNS('foo', 'bar').prefix = 'xml' threw exception Nam espaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces..
11 PASS document.createElementNS('foo', 'bar').prefix = 'xml' threw exception Error : NamespaceError: DOM Exception 14. 11 PASS document.createElementNS('foo', 'bar').prefix = 'xml' threw exception Names paceError: An attempt was made to create or change an object in a way which is i ncorrect with regard to namespaces..
12 PASS document.createAttribute('attr').prefix = 'xmlns' threw exception Error: Na mespaceError: DOM Exception 14. 12 PASS document.createAttribute('attr').prefix = 'xmlns' threw exception Namespace Error: An attempt was made to create or change an object in a way which is incor rect with regard to namespaces..
13 PASS document.createAttributeNS('foo', 'attr').prefix = 'xmlns' threw exception Error: NamespaceError: DOM Exception 14. 13 PASS document.createAttributeNS('foo', 'attr').prefix = 'xmlns' threw exception NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces..
14 PASS document.createAttribute('xmlns').prefix = 'foo' threw exception Error: Nam espaceError: DOM Exception 14. 14 PASS document.createAttribute('xmlns').prefix = 'foo' threw exception NamespaceE rror: An attempt was made to create or change an object in a way which is incorr ect with regard to namespaces..
15 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698