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

Side by Side Diff: LayoutTests/fast/dom/HTMLInputElement/input-size-attribute-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 HTMLInputElement size attribute test 1 HTMLInputElement size attribute test
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 input.size is 20 6 PASS input.size is 20
7 PASS input.setAttribute('size', '-1'); input.size is 20 7 PASS input.setAttribute('size', '-1'); input.size is 20
8 PASS input.removeAttribute('size'); input.size is 20 8 PASS input.removeAttribute('size'); input.size is 20
9 PASS input.setAttribute('size', '1'); input.size is 1 9 PASS input.setAttribute('size', '1'); input.size is 1
10 PASS input.setAttribute('size', '2'); input.size is 2 10 PASS input.setAttribute('size', '2'); input.size is 2
11 PASS input.removeAttribute('size'); input.size is 20 11 PASS input.removeAttribute('size'); input.size is 20
12 PASS input.setAttribute('size', 'a'); input.size is 20 12 PASS input.setAttribute('size', 'a'); input.size is 20
13 PASS input.removeAttribute('size'); input.size is 20 13 PASS input.removeAttribute('size'); input.size is 20
14 PASS input.setAttribute('size', '0'); input.size is 20 14 PASS input.setAttribute('size', '0'); input.size is 20
15 PASS input.setAttribute('size', '10'); input.size is 10 15 PASS input.setAttribute('size', '10'); input.size is 10
16 PASS input.size = 0 threw exception Error: IndexSizeError: DOM Exception 1. 16 PASS input.size = 0 threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
17 PASS successfullyParsed is true 17 PASS successfullyParsed is true
18 18
19 TEST COMPLETE 19 TEST COMPLETE
20 20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698