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

Side by Side Diff: LayoutTests/fast/forms/textarea-maxlength-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 Tests for HTMLTextAreaElement.maxLength behaviors. 1 Tests for HTMLTextAreaElement.maxLength behaviors.
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 textArea.maxLength is -1 6 PASS textArea.maxLength is -1
7 PASS textArea.maxLength is -1 7 PASS textArea.maxLength is -1
8 PASS textArea.maxLength is -1 8 PASS textArea.maxLength is -1
9 PASS textArea.maxLength is 1 9 PASS textArea.maxLength is 1
10 PASS textArea.maxLength is 256 10 PASS textArea.maxLength is 256
11 PASS textArea.getAttribute("maxlength") is "13" 11 PASS textArea.getAttribute("maxlength") is "13"
12 PASS textArea.maxLength = -1 threw exception Error: IndexSizeError: DOM Exceptio n 1. 12 PASS textArea.maxLength = -1 threw exception IndexSizeError: Index or size was n egative, or greater than the allowed value..
13 PASS textArea.getAttribute("maxlength") is "13" 13 PASS textArea.getAttribute("maxlength") is "13"
14 PASS textArea.maxLength is 0 14 PASS textArea.maxLength is 0
15 PASS textArea.getAttribute("maxlength") is "0" 15 PASS textArea.getAttribute("maxlength") is "0"
16 PASS textArea.value is "abcd" 16 PASS textArea.value is "abcd"
17 PASS textArea.value is "abcde" 17 PASS textArea.value is "abcde"
18 PASS textArea.value is "abc" 18 PASS textArea.value is "abc"
19 PASS textArea.value is "abc" 19 PASS textArea.value is "abc"
20 PASS textArea.value is "def" 20 PASS textArea.value is "def"
21 PASS textArea.value is "abcdef" 21 PASS textArea.value is "abcdef"
22 PASS textArea.value is "abcde" 22 PASS textArea.value is "abcde"
23 PASS textArea.value is "A\nB" 23 PASS textArea.value is "A\nB"
24 PASS textArea.value is "a\n\n" 24 PASS textArea.value is "a\n\n"
25 PASS textArea.value is "\n\n\n" 25 PASS textArea.value is "\n\n\n"
26 PASS textArea.value is "AB" + fancyX 26 PASS textArea.value is "AB" + fancyX
27 PASS textArea.value.length is 5 27 PASS textArea.value.length is 5
28 PASS textArea.value is "ABC" 28 PASS textArea.value is "ABC"
29 PASS textArea.value is "AB" + u10000 29 PASS textArea.value is "AB" + u10000
30 PASS textArea.value.length is 4 30 PASS textArea.value.length is 4
31 PASS textArea.value is "ABC" 31 PASS textArea.value is "ABC"
32 PASS textArea.value is "" 32 PASS textArea.value is ""
33 PASS textArea.value is "ABC" 33 PASS textArea.value is "ABC"
34 PASS textArea.value is "ABC" 34 PASS textArea.value is "ABC"
35 PASS successfullyParsed is true 35 PASS successfullyParsed is true
36 36
37 TEST COMPLETE 37 TEST COMPLETE
38 38
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/textarea-maxlength.html ('k') | LayoutTests/fast/forms/textarea/textarea-setrangetext-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698