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

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

Issue 143453010: Have getElementsByClassName() / getElementsByTagName*() return an HTMLCollection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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 CONSOLE WARNING: Calling CSSStyleSheet.insertRule() with one argument is depreca ted. Please pass the index argument as well: insertRule(x, 0). 1 CONSOLE WARNING: Calling CSSStyleSheet.insertRule() with one argument is depreca ted. Please pass the index argument as well: insertRule(x, 0).
2 This tests the behavior of non-numeric values in contexts where the DOM has a nu meric parameter. 2 This tests the behavior of non-numeric values in contexts where the DOM has a nu meric parameter.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS nonNumericPolicy('document.createTextNode("a").substringData(x, 0)') is 'an y type allowed' 7 PASS nonNumericPolicy('document.createTextNode("a").substringData(x, 0)') is 'an y type allowed'
8 PASS nonNumericPolicy('document.createTextNode("a").substringData(0, x)') is 'an y type allowed (but not omitted)' 8 PASS nonNumericPolicy('document.createTextNode("a").substringData(0, x)') is 'an y type allowed (but not omitted)'
9 PASS nonNumericPolicy('document.createTextNode("a").insertData(x, "b")') is 'any type allowed' 9 PASS nonNumericPolicy('document.createTextNode("a").insertData(x, "b")') is 'any type allowed'
10 PASS nonNumericPolicy('document.createTextNode("a").deleteData(x, 0)') is 'any t ype allowed' 10 PASS nonNumericPolicy('document.createTextNode("a").deleteData(x, 0)') is 'any t ype allowed'
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 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('document.createEvent("KeyboardEvent").initKeyboardEvent(" a", false, false, null, "b", x, false, false, false, false, false)') is 'any typ e allowed'
45 PASS nonNumericPolicy('createMediaList().item(x)') is 'any type allowed (but not omitted)' 45 PASS nonNumericPolicy('createMediaList().item(x)') is 'any type allowed (but not omitted)'
46 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, x, 0, 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, 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, x, 0, 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, 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, x, 0, 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, 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, x, 0, 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, 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, x, false, false, false, false, 0, null)') is 'any type allowed'
51 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.createEvent("MouseEvent").initMouseEvent("a", fa lse, false, null, 0, 0, 0, 0, 0, false, false, false, false, x, null)') is 'any type allowed'
52 PASS nonNumericPolicy('document.body.attributes.item(x)') is 'any type allowed' 52 PASS nonNumericPolicy('document.body.attributes.item(x)') is 'any type allowed'
53 PASS nonNumericPolicy('document.createNodeIterator(document, x, null, false)') i s 'any type allowed' 53 PASS nonNumericPolicy('document.createNodeIterator(document, x, null, false)') i s 'any type allowed'
54 PASS nonNumericPolicy('document.getElementsByTagName("div").item(x)') is 'any ty pe allowed (but not omitted)' 54 PASS nonNumericPolicy('document.getElementsByTagName("div").item(x)') is 'any ty pe allowed'
55 PASS nonNumericPolicy('document.createRange().setStart(document, x)') is 'any ty pe allowed (but not omitted)' 55 PASS nonNumericPolicy('document.createRange().setStart(document, x)') is 'any ty pe allowed (but not omitted)'
56 PASS nonNumericPolicy('document.createRange().setEnd(document, x)') is 'any type allowed (but not omitted)' 56 PASS nonNumericPolicy('document.createRange().setEnd(document, x)') is 'any type allowed (but not omitted)'
57 PASS nonNumericPolicy('document.createRange().comparePoint(document, x)') is 'an y type allowed (but not omitted)' 57 PASS nonNumericPolicy('document.createRange().comparePoint(document, x)') is 'an y type allowed (but not omitted)'
58 PASS nonNumericPolicy('document.createRange().isPointInRange(document, x)') is ' any type allowed (but not omitted)' 58 PASS nonNumericPolicy('document.createRange().isPointInRange(document, x)') is ' any type allowed (but not omitted)'
59 PASS nonNumericPolicy('getSelection().collapse(document, x)') is 'any type allow ed' 59 PASS nonNumericPolicy('getSelection().collapse(document, x)') is 'any type allow ed'
60 PASS nonNumericPolicy('getSelection().setBaseAndExtent(document, x, document, 0) ') is 'any type allowed' 60 PASS nonNumericPolicy('getSelection().setBaseAndExtent(document, x, document, 0) ') is 'any type allowed'
61 PASS nonNumericPolicy('getSelection().setBaseAndExtent(document, 0, document, x) ') is 'any type allowed' 61 PASS nonNumericPolicy('getSelection().setBaseAndExtent(document, 0, document, x) ') is 'any type allowed'
62 PASS nonNumericPolicy('getSelection().setPosition(document, x)') is 'any type al lowed' 62 PASS nonNumericPolicy('getSelection().setPosition(document, x)') is 'any type al lowed'
63 PASS nonNumericPolicy('getSelection().extend(document, x)') is 'any type allowed ' 63 PASS nonNumericPolicy('getSelection().extend(document, x)') is 'any type allowed '
64 PASS nonNumericPolicy('getSelection().getRangeAt(x)') is 'any type allowed' 64 PASS nonNumericPolicy('getSelection().getRangeAt(x)') is 'any type allowed'
(...skipping 12 matching lines...) Expand all
77 PASS nonNumericPolicy('window.moveTo(x, 0)') is 'any type allowed' 77 PASS nonNumericPolicy('window.moveTo(x, 0)') is 'any type allowed'
78 PASS nonNumericPolicy('window.moveTo(0, x)') is 'any type allowed' 78 PASS nonNumericPolicy('window.moveTo(0, x)') is 'any type allowed'
79 PASS nonNumericPolicy('window.resizeBy(x, 0)') is 'any type allowed' 79 PASS nonNumericPolicy('window.resizeBy(x, 0)') is 'any type allowed'
80 PASS nonNumericPolicy('window.resizeBy(0, x)') is 'any type allowed' 80 PASS nonNumericPolicy('window.resizeBy(0, x)') is 'any type allowed'
81 PASS nonNumericPolicy('window.resizeTo(x, 0)') is 'any type allowed' 81 PASS nonNumericPolicy('window.resizeTo(x, 0)') is 'any type allowed'
82 PASS nonNumericPolicy('window.resizeTo(0, x)') is 'any type allowed' 82 PASS nonNumericPolicy('window.resizeTo(0, x)') is 'any type allowed'
83 PASS successfullyParsed is true 83 PASS successfullyParsed is true
84 84
85 TEST COMPLETE 85 TEST COMPLETE
86 86
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/getElementsByClassName/dumpNodeList.html ('k') | LayoutTests/fast/dom/script-tests/domListEnumeration.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698