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

Side by Side Diff: LayoutTests/fast/dom/node-prefix-setter-namespace-exception-expected.txt

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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
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 NamespaceEr ror: Failed to set the 'prefix' property on 'Node': No namespace is set, so a na mespace prefix may not be set.. 7 PASS document.createAttribute('attr').prefix = 'abc' threw exception NamespaceEr ror: Failed to set the 'prefix' property on 'Attr': No namespace is set, so a na mespace prefix may not be set..
8 PASS document.createAttributeNS(null, 'attr').prefix = 'abc' threw exception Nam espaceError: Failed to set the 'prefix' property on 'Node': No namespace is set, so a namespace prefix may not be set.. 8 PASS document.createAttributeNS(null, 'attr').prefix = 'abc' threw exception Nam espaceError: Failed to set the 'prefix' property on 'Attr': No namespace is set, so a namespace prefix may not be set..
9 PASS document.createElementNS(null, 'attr').prefix = 'abc' threw exception Names paceError: Failed to set the 'prefix' property on 'Node': No namespace is set, s o a namespace prefix may not be set.. 9 PASS document.createElementNS(null, 'attr').prefix = 'abc' threw exception Names paceError: Failed to set the 'prefix' property on 'Element': No namespace is set , so a namespace prefix may not be set..
10 PASS document.createAttributeNS('foo', 'bar').prefix = 'xml' threw exception Nam espaceError: Failed to set the 'prefix' property on 'Node': The prefix 'xml' may not be set on namespace 'foo'.. 10 PASS document.createAttributeNS('foo', 'bar').prefix = 'xml' threw exception Nam espaceError: Failed to set the 'prefix' property on 'Attr': The prefix 'xml' may not be set on namespace 'foo'..
11 PASS document.createElementNS('foo', 'bar').prefix = 'xml' threw exception Names paceError: Failed to set the 'prefix' property on 'Node': The prefix 'xml' may n ot be set on namespace 'foo'.. 11 PASS document.createElementNS('foo', 'bar').prefix = 'xml' threw exception Names paceError: Failed to set the 'prefix' property on 'Element': The prefix 'xml' ma y not be set on namespace 'foo'..
12 PASS document.createAttribute('attr').prefix = 'xmlns' threw exception Namespace Error: Failed to set the 'prefix' property on 'Node': No namespace is set, so a namespace prefix may not be set.. 12 PASS document.createAttribute('attr').prefix = 'xmlns' threw exception Namespace Error: Failed to set the 'prefix' property on 'Attr': No namespace is set, so a namespace prefix may not be set..
13 PASS document.createAttributeNS('foo', 'attr').prefix = 'xmlns' threw exception NamespaceError: Failed to set the 'prefix' property on 'Attr': The prefix 'xmlns ' may not be used on the namespace 'foo'.. 13 PASS document.createAttributeNS('foo', 'attr').prefix = 'xmlns' threw exception NamespaceError: Failed to set the 'prefix' property on 'Attr': The prefix 'xmlns ' may not be used on the namespace 'foo'..
14 PASS document.createAttribute('xmlns').prefix = 'foo' threw exception NamespaceE rror: Failed to set the 'prefix' property on 'Node': No namespace is set, so a n amespace prefix may not be set.. 14 PASS document.createAttribute('xmlns').prefix = 'foo' threw exception NamespaceE rror: Failed to set the 'prefix' property on 'Attr': No namespace is set, so a n amespace prefix may not be set..
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