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

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

Issue 1249913003: The contextId argument for HTMLCanvasElement getContext() api should not be optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
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 20 matching lines...) Expand all
31 PASS nonNumericPolicy('createHTMLSelectElement().remove(x)') is 'any type allowe d' 31 PASS nonNumericPolicy('createHTMLSelectElement().remove(x)') is 'any type allowe d'
32 PASS nonNumericPolicy('createHTMLSelectElement().item(x)') is 'any type allowed (but not omitted)' 32 PASS nonNumericPolicy('createHTMLSelectElement().item(x)') is 'any type allowed (but not omitted)'
33 PASS nonNumericPolicy('createHTMLTableElement().insertRow(x)') is 'any type allo wed' 33 PASS nonNumericPolicy('createHTMLTableElement().insertRow(x)') is 'any type allo wed'
34 PASS nonNumericPolicy('createHTMLTableElement().deleteRow(x)') is 'any type allo wed (but not omitted)' 34 PASS nonNumericPolicy('createHTMLTableElement().deleteRow(x)') is 'any type allo wed (but not omitted)'
35 PASS nonNumericPolicy('createHTMLTableRowElement().insertCell(x)') is 'any type allowed' 35 PASS nonNumericPolicy('createHTMLTableRowElement().insertCell(x)') is 'any type allowed'
36 PASS nonNumericPolicy('createHTMLTableRowElement().deleteCell(x)') is 'any type allowed (but not omitted)' 36 PASS nonNumericPolicy('createHTMLTableRowElement().deleteCell(x)') is 'any type allowed (but not omitted)'
37 PASS nonNumericPolicy('createHTMLTableSectionElement().insertRow(x)') is 'any ty pe allowed' 37 PASS nonNumericPolicy('createHTMLTableSectionElement().insertRow(x)') is 'any ty pe allowed'
38 PASS nonNumericPolicy('createHTMLTableSectionElement().deleteRow(x)') is 'any ty pe allowed (but not omitted)' 38 PASS nonNumericPolicy('createHTMLTableSectionElement().deleteRow(x)') is 'any ty pe allowed (but not omitted)'
39 PASS nonNumericPolicy('document.createElement("textarea").setSelectionRange(x, 0 )') is 'any type allowed' 39 PASS nonNumericPolicy('document.createElement("textarea").setSelectionRange(x, 0 )') is 'any type allowed'
40 PASS nonNumericPolicy('document.createElement("textarea").setSelectionRange(0, x )') is 'any type allowed' 40 PASS nonNumericPolicy('document.createElement("textarea").setSelectionRange(0, x )') is 'any type allowed'
41 PASS nonNumericPolicy('createCanvasElement().getContext(x)') is 'any type allowe d (but not omitted)'
41 PASS nonNumericPolicy('document.createEvent("KeyboardEvent").initKeyboardEvent(" a", false, false, null, "b", x, false, false, false, false, false)') is 'any typ e allowed' 42 PASS nonNumericPolicy('document.createEvent("KeyboardEvent").initKeyboardEvent(" a", false, false, null, "b", x, false, false, false, false, false)') is 'any typ e allowed'
42 PASS nonNumericPolicy('createMediaList().item(x)') is 'any type allowed (but not omitted)' 43 PASS nonNumericPolicy('createMediaList().item(x)') is 'any type allowed (but not omitted)'
43 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' 44 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'
44 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' 45 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'
45 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' 46 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'
46 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' 47 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'
47 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' 48 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'
48 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' 49 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'
49 PASS nonNumericPolicy('document.body.attributes.item(x)') is 'any type allowed ( but not omitted)' 50 PASS nonNumericPolicy('document.body.attributes.item(x)') is 'any type allowed ( but not omitted)'
50 PASS nonNumericPolicy('document.createNodeIterator(document, x, null, false)') i s 'any type allowed' 51 PASS nonNumericPolicy('document.createNodeIterator(document, x, null, false)') i s 'any type allowed'
(...skipping 23 matching lines...) Expand all
74 PASS nonNumericPolicy('window.moveTo(x, 0)') is 'any type allowed' 75 PASS nonNumericPolicy('window.moveTo(x, 0)') is 'any type allowed'
75 PASS nonNumericPolicy('window.moveTo(0, x)') is 'any type allowed (but not omitt ed)' 76 PASS nonNumericPolicy('window.moveTo(0, x)') is 'any type allowed (but not omitt ed)'
76 PASS nonNumericPolicy('window.resizeBy(x, 0)') is 'any type allowed' 77 PASS nonNumericPolicy('window.resizeBy(x, 0)') is 'any type allowed'
77 PASS nonNumericPolicy('window.resizeBy(0, x)') is 'any type allowed (but not omi tted)' 78 PASS nonNumericPolicy('window.resizeBy(0, x)') is 'any type allowed (but not omi tted)'
78 PASS nonNumericPolicy('window.resizeTo(x, 0)') is 'any type allowed' 79 PASS nonNumericPolicy('window.resizeTo(x, 0)') is 'any type allowed'
79 PASS nonNumericPolicy('window.resizeTo(0, x)') is 'any type allowed (but not omi tted)' 80 PASS nonNumericPolicy('window.resizeTo(0, x)') is 'any type allowed (but not omi tted)'
80 PASS successfullyParsed is true 81 PASS successfullyParsed is true
81 82
82 TEST COMPLETE 83 TEST COMPLETE
83 84
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698