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

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

Issue 21766002: NodeList.item() does not behave according to specification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Simplify link tag 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
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'
45 PASS nonNumericPolicy('document.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, x, 0, 0, 0, 0, false, false, false, false, 0, null)') is 'any type allowed' 45 PASS nonNumericPolicy('document.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, x, 0, 0, 0, 0, false, false, false, false, 0, null)') is 'any type allowed'
46 PASS nonNumericPolicy('document.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, 0, x, 0, 0, 0, false, false, false, false, 0, null)') is 'any type allowed' 46 PASS nonNumericPolicy('document.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, 0, x, 0, 0, 0, false, false, false, false, 0, null)') is 'any type allowed'
47 PASS nonNumericPolicy('document.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, 0, 0, x, 0, 0, false, false, false, false, 0, null)') is 'any type allowed' 47 PASS nonNumericPolicy('document.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, 0, 0, x, 0, 0, false, false, false, false, 0, null)') is 'any type allowed'
48 PASS nonNumericPolicy('document.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, 0, 0, 0, x, 0, false, false, false, false, 0, null)') is 'any type allowed' 48 PASS nonNumericPolicy('document.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, 0, 0, 0, x, 0, false, false, false, false, 0, null)') is 'any type allowed'
49 PASS nonNumericPolicy('document.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, 0, 0, 0, 0, x, false, false, false, false, 0, null)') is 'any type allowed' 49 PASS nonNumericPolicy('document.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, 0, 0, 0, 0, x, false, false, false, false, 0, null)') is 'any type allowed'
50 PASS nonNumericPolicy('document.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, 0, 0, 0, 0, 0, false, false, false, false, x, null)') is 'any type allowed' 50 PASS nonNumericPolicy('document.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, 0, 0, 0, 0, 0, false, false, false, false, x, null)') is 'any type allowed'
51 PASS nonNumericPolicy('document.body.attributes.item(x)') is 'any type allowed' 51 PASS nonNumericPolicy('document.body.attributes.item(x)') is 'any type allowed'
52 PASS nonNumericPolicy('document.createNodeIterator(document, x, null, false)') i s 'any type allowed' 52 PASS nonNumericPolicy('document.createNodeIterator(document, x, null, false)') i s 'any type allowed'
53 PASS nonNumericPolicy('document.getElementsByTagName("div").item(x)') is 'any ty pe allowed' 53 PASS nonNumericPolicy('document.getElementsByTagName("div").item(x)') is 'any ty pe allowed (but not omitted)'
54 PASS nonNumericPolicy('document.createRange().setStart(document, x)') is 'any ty pe allowed' 54 PASS nonNumericPolicy('document.createRange().setStart(document, x)') is 'any ty pe allowed'
55 PASS nonNumericPolicy('document.createRange().setEnd(document, x)') is 'any type allowed' 55 PASS nonNumericPolicy('document.createRange().setEnd(document, x)') is 'any type allowed'
56 PASS nonNumericPolicy('document.createRange().comparePoint(document, x)') is 'an y type allowed' 56 PASS nonNumericPolicy('document.createRange().comparePoint(document, x)') is 'an y type allowed'
57 PASS nonNumericPolicy('document.createRange().isPointInRange(document, x)') is ' any type allowed' 57 PASS nonNumericPolicy('document.createRange().isPointInRange(document, x)') is ' any type allowed'
58 PASS nonNumericPolicy('getSelection().collapse(document, x)') is 'any type allow ed' 58 PASS nonNumericPolicy('getSelection().collapse(document, x)') is 'any type allow ed'
59 PASS nonNumericPolicy('getSelection().setBaseAndExtent(document, x, document, 0) ') is 'any type allowed' 59 PASS nonNumericPolicy('getSelection().setBaseAndExtent(document, x, document, 0) ') is 'any type allowed'
60 PASS nonNumericPolicy('getSelection().setBaseAndExtent(document, 0, document, x) ') is 'any type allowed' 60 PASS nonNumericPolicy('getSelection().setBaseAndExtent(document, 0, document, x) ') is 'any type allowed'
61 PASS nonNumericPolicy('getSelection().setPosition(document, x)') is 'any type al lowed' 61 PASS nonNumericPolicy('getSelection().setPosition(document, x)') is 'any type al lowed'
62 PASS nonNumericPolicy('getSelection().extend(document, x)') is 'any type allowed ' 62 PASS nonNumericPolicy('getSelection().extend(document, x)') is 'any type allowed '
63 PASS nonNumericPolicy('getSelection().getRangeAt(x)') is 'any type allowed' 63 PASS nonNumericPolicy('getSelection().getRangeAt(x)') is 'any type allowed'
(...skipping 12 matching lines...) Expand all
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