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

Side by Side Diff: LayoutTests/fast/dom/Window/custom-constructors-expected.txt

Issue 373043004: IDL: Treat undefined as missing for optional arguments with defaults (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 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 Test constructors for classes in Window 1 Test constructors for classes in Window
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 PASS Audio.prototype.toString.call(new Audio) is '[object HTMLAudioElement]' 5 PASS Audio.prototype.toString.call(new Audio) is '[object HTMLAudioElement]'
6 PASS Image.prototype.toString.call(new Image) is '[object HTMLImageElement]' 6 PASS Image.prototype.toString.call(new Image) is '[object HTMLImageElement]'
7 PASS Option.prototype.toString.call(new Option) is '[object HTMLOptionElement]' 7 PASS Option.prototype.toString.call(new Option) is '[object HTMLOptionElement]'
8 PASS WebKitPoint.prototype.toString.call(new WebKitPoint) is '[object WebKitPoin t]' 8 PASS WebKitPoint.prototype.toString.call(new WebKitPoint) is '[object WebKitPoin t]'
9 PASS WebKitCSSMatrix.prototype.toString.call(new WebKitCSSMatrix) is 'matrix(1.0 00000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000)' 9 PASS WebKitCSSMatrix.prototype.toString.call(new WebKitCSSMatrix) is 'matrix(1.0 00000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000)'
10 PASS WebKitCSSMatrix.prototype.toString.call(new WebKitCSSMatrix()) is 'matrix(1 .000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000)' 10 PASS WebKitCSSMatrix.prototype.toString.call(new WebKitCSSMatrix()) is 'matrix(1 .000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000)'
11 PASS new WebKitCSSMatrix(null) threw exception SyntaxError: Failed to construct 'WebKitCSSMatrix': Failed to parse 'null'.. 11 PASS new WebKitCSSMatrix(null) threw exception SyntaxError: Failed to construct 'WebKitCSSMatrix': Failed to parse 'null'..
12 PASS new WebKitCSSMatrix(undefined) threw exception SyntaxError: Failed to const ruct 'WebKitCSSMatrix': Failed to parse 'undefined'.. 12 FAIL new WebKitCSSMatrix(undefined) should throw an exception. Was matrix(1.0000 00, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000).
13 PASS XMLHttpRequest.prototype.toString.call(new XMLHttpRequest) is '[object XMLH ttpRequest]' 13 PASS XMLHttpRequest.prototype.toString.call(new XMLHttpRequest) is '[object XMLH ttpRequest]'
14 PASS XSLTProcessor.prototype.toString.call(new XSLTProcessor) is '[object XSLTPr ocessor]' 14 PASS XSLTProcessor.prototype.toString.call(new XSLTProcessor) is '[object XSLTPr ocessor]'
15 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 18
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Window/alert-undefined-expected.txt ('k') | LayoutTests/fast/encoding/api/basics.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698