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

Side by Side Diff: LayoutTests/fast/dom/non-numeric-values-numeric-parameters-expected.txt

Issue 21834002: HTMLSelectElement.item() does not behave according to specification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move test as advised Created 7 years, 4 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 This tests the behavior of non-numeric values in contexts where the DOM has a nu meric parameter. 1 This tests the behavior of non-numeric values in contexts where the DOM has a nu meric parameter.
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 nonNumericPolicy('document.createTextNode("a").substringData(x, 0)') is 'an y type allowed' 6 PASS nonNumericPolicy('document.createTextNode("a").substringData(x, 0)') is 'an y type allowed'
7 PASS nonNumericPolicy('document.createTextNode("a").substringData(0, x)') is 'an y type allowed' 7 PASS nonNumericPolicy('document.createTextNode("a").substringData(0, x)') is 'an y type allowed'
8 PASS nonNumericPolicy('document.createTextNode("a").insertData(x, "b")') is 'any type allowed' 8 PASS nonNumericPolicy('document.createTextNode("a").insertData(x, "b")') is 'any type allowed'
9 PASS nonNumericPolicy('document.createTextNode("a").deleteData(x, 0)') is 'any t ype allowed' 9 PASS nonNumericPolicy('document.createTextNode("a").deleteData(x, 0)') is 'any t ype allowed'
10 PASS nonNumericPolicy('document.createTextNode("a").deleteData(0, x)') is 'any t ype allowed (but not omitted)' 10 PASS nonNumericPolicy('document.createTextNode("a").deleteData(0, x)') is 'any t ype allowed (but not omitted)'
(...skipping 13 matching lines...) Expand all
24 PASS nonNumericPolicy('document.body.scrollByLines(x)') is 'any type allowed' 24 PASS nonNumericPolicy('document.body.scrollByLines(x)') is 'any type allowed'
25 PASS nonNumericPolicy('document.body.scrollByPages(x)') is 'any type allowed' 25 PASS nonNumericPolicy('document.body.scrollByPages(x)') is 'any type allowed'
26 PASS nonNumericPolicy('document.body.scrollLeft = x') is 'any type allowed' 26 PASS nonNumericPolicy('document.body.scrollLeft = x') is 'any type allowed'
27 PASS nonNumericPolicy('document.body.scrollTop = x') is 'any type allowed' 27 PASS nonNumericPolicy('document.body.scrollTop = x') is 'any type allowed'
28 PASS nonNumericPolicy('document.images.item(x)') is 'any type allowed' 28 PASS nonNumericPolicy('document.images.item(x)') is 'any type allowed'
29 PASS nonNumericPolicy('document.createElement("input").setSelectionRange(x, 0)') is 'any type allowed' 29 PASS nonNumericPolicy('document.createElement("input").setSelectionRange(x, 0)') is 'any type allowed'
30 PASS nonNumericPolicy('document.createElement("input").setSelectionRange(0, x)') is 'any type allowed' 30 PASS nonNumericPolicy('document.createElement("input").setSelectionRange(0, x)') is 'any type allowed'
31 PASS nonNumericPolicy('createHTMLOptionsCollection().add(document.createElement( "option"), x)') is 'any type allowed' 31 PASS nonNumericPolicy('createHTMLOptionsCollection().add(document.createElement( "option"), x)') is 'any type allowed'
32 PASS nonNumericPolicy('createHTMLOptionsCollection().remove(x)') is 'any type al lowed' 32 PASS nonNumericPolicy('createHTMLOptionsCollection().remove(x)') is 'any type al lowed'
33 PASS nonNumericPolicy('createHTMLSelectElement().remove(x)') is 'any type allowe d' 33 PASS nonNumericPolicy('createHTMLSelectElement().remove(x)') is 'any type allowe d'
34 PASS nonNumericPolicy('createHTMLSelectElement().item(x)') is 'any type allowed' 34 PASS nonNumericPolicy('createHTMLSelectElement().item(x)') is 'any type allowed (but not omitted)'
35 PASS nonNumericPolicy('createHTMLTableElement().insertRow(x)') is 'any type allo wed' 35 PASS nonNumericPolicy('createHTMLTableElement().insertRow(x)') is 'any type allo wed'
36 PASS nonNumericPolicy('createHTMLTableElement().deleteRow(x)') is 'any type allo wed' 36 PASS nonNumericPolicy('createHTMLTableElement().deleteRow(x)') is 'any type allo wed'
37 PASS nonNumericPolicy('createHTMLTableRowElement().insertCell(x)') is 'any type allowed' 37 PASS nonNumericPolicy('createHTMLTableRowElement().insertCell(x)') is 'any type allowed'
38 PASS nonNumericPolicy('createHTMLTableRowElement().deleteCell(x)') is 'any type allowed' 38 PASS nonNumericPolicy('createHTMLTableRowElement().deleteCell(x)') is 'any type allowed'
39 PASS nonNumericPolicy('createHTMLTableSectionElement().insertRow(x)') is 'any ty pe allowed' 39 PASS nonNumericPolicy('createHTMLTableSectionElement().insertRow(x)') is 'any ty pe allowed'
40 PASS nonNumericPolicy('createHTMLTableSectionElement().deleteRow(x)') is 'any ty pe allowed' 40 PASS nonNumericPolicy('createHTMLTableSectionElement().deleteRow(x)') is 'any ty pe allowed'
41 PASS nonNumericPolicy('document.createElement("textarea").setSelectionRange(x, 0 )') is 'any type allowed' 41 PASS nonNumericPolicy('document.createElement("textarea").setSelectionRange(x, 0 )') is 'any type allowed'
42 PASS nonNumericPolicy('document.createElement("textarea").setSelectionRange(0, x )') is 'any type allowed' 42 PASS nonNumericPolicy('document.createElement("textarea").setSelectionRange(0, x )') is 'any type allowed'
43 PASS nonNumericPolicy('document.createEvent("KeyboardEvent").initKeyboardEvent(" a", false, false, null, "b", x, false, false, false, false, false)') is 'any typ e allowed' 43 PASS nonNumericPolicy('document.createEvent("KeyboardEvent").initKeyboardEvent(" a", false, false, null, "b", x, false, false, false, false, false)') is 'any typ e allowed'
44 PASS nonNumericPolicy('createMediaList().item(x)') is 'any type allowed' 44 PASS nonNumericPolicy('createMediaList().item(x)') is 'any type allowed'
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 PASS nonNumericPolicy('window.moveTo(x, 0)') is 'any type allowed' 76 PASS nonNumericPolicy('window.moveTo(x, 0)') is 'any type allowed'
77 PASS nonNumericPolicy('window.moveTo(0, x)') is 'any type allowed' 77 PASS nonNumericPolicy('window.moveTo(0, x)') is 'any type allowed'
78 PASS nonNumericPolicy('window.resizeBy(x, 0)') is 'any type allowed' 78 PASS nonNumericPolicy('window.resizeBy(x, 0)') is 'any type allowed'
79 PASS nonNumericPolicy('window.resizeBy(0, x)') is 'any type allowed' 79 PASS nonNumericPolicy('window.resizeBy(0, x)') is 'any type allowed'
80 PASS nonNumericPolicy('window.resizeTo(x, 0)') is 'any type allowed' 80 PASS nonNumericPolicy('window.resizeTo(x, 0)') is 'any type allowed'
81 PASS nonNumericPolicy('window.resizeTo(0, x)') is 'any type allowed' 81 PASS nonNumericPolicy('window.resizeTo(0, x)') is 'any type allowed'
82 PASS successfullyParsed is true 82 PASS successfullyParsed is true
83 83
84 TEST COMPLETE 84 TEST COMPLETE
85 85
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698