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

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

Issue 301403002: Deprecate the Element.prefix setter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test Created 6 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 CONSOLE WARNING: Setting 'Element.prefix' is deprecated, as it is read-only per DOM (http://dom.spec.whatwg.org/#element).
1 Test how Node.prefix setter raises NAMESPACE_ERR. 2 Test how Node.prefix setter raises NAMESPACE_ERR.
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 6
6 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.. 7 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..
7 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'.. 8 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'..
8 PASS successfullyParsed is true 9 PASS successfullyParsed is true
9 10
10 TEST COMPLETE 11 TEST COMPLETE
11 12
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/element-attribute-js-null-expected.txt ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698