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

Side by Side Diff: LayoutTests/fast/dom/HTMLElement/set-invalid-value-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 When contentEditable is set to invalid string, SYNTAX_ERR exception (code: 12) m ust be raised. 1 When contentEditable is set to invalid string, SYNTAX_ERR exception (code: 12) m ust be raised.
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 document.getElementById('div').contentEditable = 'abc' threw exception Erro r: SyntaxError: DOM Exception 12. 6 PASS document.getElementById('div').contentEditable = 'abc' threw exception Synt axError: An invalid or illegal string was specified..
7 PASS document.getElementById("div").getAttribute("contentEditable") is "true" 7 PASS document.getElementById("div").getAttribute("contentEditable") is "true"
8 PASS document.getElementById("div").contentEditable is "true" 8 PASS document.getElementById("div").contentEditable is "true"
9 PASS document.getElementById("div").isContentEditable is true 9 PASS document.getElementById("div").isContentEditable is true
10 PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is "read-write" 10 PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is "read-write"
11 PASS document.getElementById('div').contentEditable = '' threw exception Error: SyntaxError: DOM Exception 12. 11 PASS document.getElementById('div').contentEditable = '' threw exception SyntaxE rror: An invalid or illegal string was specified..
12 PASS document.getElementById("div").getAttribute("contentEditable") is "true" 12 PASS document.getElementById("div").getAttribute("contentEditable") is "true"
13 PASS document.getElementById("div").contentEditable is "true" 13 PASS document.getElementById("div").contentEditable is "true"
14 PASS document.getElementById("div").isContentEditable is true 14 PASS document.getElementById("div").isContentEditable is true
15 PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is "read-write" 15 PASS window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify") is "read-write"
16 PASS successfullyParsed is true 16 PASS successfullyParsed is true
17 17
18 TEST COMPLETE 18 TEST COMPLETE
19 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698