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

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

Issue 688333002: Remove the Element.prefix setter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 1 month 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
(Empty)
1 CONSOLE WARNING: Setting 'Element.prefix' is deprecated, as it is read-only per DOM (http://dom.spec.whatwg.org/#element).
2 Test for the implementation of DOM Level 3 Core API on Node Interface: prefix se tter. INVALID_CHARACTER_ERR: Raised if the specified prefix contains an illegal character according to the XML version in use specified in the Document.xmlVersi on attribute. http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSPrefix
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5
6
7 PASS prefixedElem.prefix = "." threw exception InvalidCharacterError: Failed to set the 'prefix' property on 'Element': The prefix '.' is not a valid name..
8 PASS prefixedElem.prefix is "before"
9 PASS prefixedElem.prefix = "x." is "x."
10 PASS prefixedElem.prefix is "x."
11 PASS prefixedElem.prefix = "0a" threw exception InvalidCharacterError: Failed to set the 'prefix' property on 'Element': The prefix '0a' is not a valid name..
12 PASS prefixedElem.prefix is "before"
13 PASS prefixedElem.prefix = "a0" is "a0"
14 PASS prefixedElem.prefix is "a0"
15 PASS prefixedElem.prefix = "_0" is "_0"
16 PASS prefixedElem.prefix is "_0"
17 PASS prefixedElem.prefix = "×" threw exception InvalidCharacterError: Failed to set the 'prefix' property on 'Element': The prefix '×' is not a valid name..
18 PASS prefixedElem.prefix is "before"
19 PASS prefixedElem.prefix = "·" threw exception InvalidCharacterError: Failed to set the 'prefix' property on 'Element': The prefix '·' is not a valid name..
20 PASS prefixedElem.prefix is "before"
21 PASS prefixedElem.prefix = "aa" is "aa"
22 PASS prefixedElem.prefix is "aa"
23 PASS prefixedElem.prefix = "\n" threw exception InvalidCharacterError: Failed to set the 'prefix' property on 'Element': The prefix '
24 ' is not a valid name..
25 PASS prefixedElem.prefix is "before"
26 PASS successfullyParsed is true
27
28 TEST COMPLETE
29
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Element/prefix-setter-exception.html ('k') | LayoutTests/fast/dom/element-attribute-js-null.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698