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

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

Issue 59863003: window.scroll() without params should be ignored or throw an error (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase test & test results of non-numeric-values-numeric-parameters test. Created 7 years, 1 month 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
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 (but not omitted)' 7 PASS nonNumericPolicy('document.createTextNode("a").substringData(0, x)') is 'an y type allowed (but not omitted)'
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
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'
64 PASS nonNumericPolicy('document.styleSheets.item(x)') is 'any type allowed (but not omitted)' 64 PASS nonNumericPolicy('document.styleSheets.item(x)') is 'any type allowed (but not omitted)'
65 PASS nonNumericPolicy('document.createTextNode("a").splitText(x)') is 'any type allowed (but not omitted)' 65 PASS nonNumericPolicy('document.createTextNode("a").splitText(x)') is 'any type allowed (but not omitted)'
66 PASS nonNumericPolicy('document.createTreeWalker(document, x, null, false)') is 'any type allowed' 66 PASS nonNumericPolicy('document.createTreeWalker(document, x, null, false)') is 'any type allowed'
67 PASS nonNumericPolicy('document.createEvent("UIEvent").initUIEvent("a", false, f alse, null, x)') is 'any type allowed' 67 PASS nonNumericPolicy('document.createEvent("UIEvent").initUIEvent("a", false, f alse, null, x)') is 'any type allowed'
68 PASS nonNumericPolicy('window.scrollBy(x, 0)') is 'any type allowed' 68 PASS nonNumericPolicy('window.scrollBy(x, 0)') is 'any type allowed'
69 PASS nonNumericPolicy('window.scrollBy(0, x)') is 'any type allowed' 69 PASS nonNumericPolicy('window.scrollBy(0, x)') is 'any type allowed (but not omi tted)'
70 PASS nonNumericPolicy('window.scrollTo(x, 0)') is 'any type allowed' 70 PASS nonNumericPolicy('window.scrollTo(x, 0)') is 'any type allowed'
71 PASS nonNumericPolicy('window.scrollTo(0, x)') is 'any type allowed' 71 PASS nonNumericPolicy('window.scrollTo(0, x)') is 'any type allowed (but not omi tted)'
72 PASS nonNumericPolicy('window.scroll(x, 0)') is 'any type allowed' 72 PASS nonNumericPolicy('window.scroll(x, 0)') is 'any type allowed'
73 PASS nonNumericPolicy('window.scroll(0, x)') is 'any type allowed' 73 PASS nonNumericPolicy('window.scroll(0, x)') is 'any type allowed (but not omitt ed)'
74 PASS nonNumericPolicy('window.moveBy(x, 0)') is 'any type allowed' 74 PASS nonNumericPolicy('window.moveBy(x, 0)') is 'any type allowed'
75 PASS nonNumericPolicy('window.moveBy(0, x)') is 'any type allowed' 75 PASS nonNumericPolicy('window.moveBy(0, x)') is 'any type allowed'
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