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

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

Issue 298063010: Remove the Element.prefix setter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove Attribute::setPrefix 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
(Empty)
1 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
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS prefixedElem.prefix = "." threw exception InvalidCharacterError: Failed to set the 'prefix' property on 'Element': The prefix '.' is not a valid name..
7 PASS prefixedElem.prefix is "before"
8 PASS prefixedElem.prefix = "x." is "x."
9 PASS prefixedElem.prefix is "x."
10 PASS prefixedElem.prefix = "0a" threw exception InvalidCharacterError: Failed to set the 'prefix' property on 'Element': The prefix '0a' is not a valid name..
11 PASS prefixedElem.prefix is "before"
12 PASS prefixedElem.prefix = "a0" is "a0"
13 PASS prefixedElem.prefix is "a0"
14 PASS prefixedElem.prefix = "_0" is "_0"
15 PASS prefixedElem.prefix is "_0"
16 PASS prefixedElem.prefix = "×" threw exception InvalidCharacterError: Failed to set the 'prefix' property on 'Element': The prefix '×' is not a valid name..
17 PASS prefixedElem.prefix is "before"
18 PASS prefixedElem.prefix = "·" threw exception InvalidCharacterError: Failed to set the 'prefix' property on 'Element': The prefix '·' is not a valid name..
19 PASS prefixedElem.prefix is "before"
20 PASS prefixedElem.prefix = "aa" is "aa"
21 PASS prefixedElem.prefix is "aa"
22 PASS prefixedElem.prefix = "\n" threw exception InvalidCharacterError: Failed to set the 'prefix' property on 'Element': The prefix '
23 ' is not a valid name..
24 PASS prefixedElem.prefix is "before"
25 PASS successfullyParsed is true
26
27 TEST COMPLETE
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698