CanvasRenderingContext2D.createPattern() / putImageData() throws wrong exception type when the first parameter is null. It should throw a TypeError but it currently throws a legacy TYPE_MISMATCH_ERR: http://www.w3.org/TR/2dcontext/#canvasrenderingcontext2d http://www.w3.org/TR/2dcontext/#canvasimagesource
Created attachment 280379 [details] WIP patch
Created attachment 280384 [details] WIP Patch
Comment on attachment 280384 [details] WIP Patch Attachment 280384 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1425561 New failing tests: canvas/philip/tests/2d.pattern.image.null.html canvas/philip/tests/2d.pattern.image.undefined.html canvas/philip/tests/2d.imageData.put.null.html imported/w3c/canvas/2d.pattern.image.undefined.html
Created attachment 280390 [details] Archive of layout-test-results from ews103 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-yosemite Platform: Mac OS X 10.10.5
Comment on attachment 280384 [details] WIP Patch Attachment 280384 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1425582 New failing tests: canvas/philip/tests/2d.pattern.image.null.html canvas/philip/tests/2d.pattern.image.undefined.html canvas/philip/tests/2d.imageData.put.null.html imported/w3c/canvas/2d.pattern.image.undefined.html
Created attachment 280391 [details] Archive of layout-test-results from ews106 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Comment on attachment 280384 [details] WIP Patch Attachment 280384 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/1425624 New failing tests: imported/w3c/canvas/2d.pattern.image.undefined.html canvas/philip/tests/2d.pattern.image.undefined.html canvas/philip/tests/2d.imageData.put.null.html canvas/philip/tests/2d.pattern.image.null.html
Created attachment 280393 [details] Archive of layout-test-results from ews124 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews124 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.4
Comment on attachment 280384 [details] WIP Patch Attachment 280384 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1425637 New failing tests: imported/w3c/canvas/2d.pattern.image.undefined.html canvas/philip/tests/2d.pattern.image.undefined.html canvas/philip/tests/2d.imageData.put.null.html canvas/philip/tests/2d.pattern.image.null.html
Created attachment 280394 [details] Archive of layout-test-results from ews115 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-yosemite Platform: Mac OS X 10.10.5
Created attachment 280398 [details] Patch
Relevant Web IDL section: https://heycam.github.io/webidl/#es-interface
Comment on attachment 280398 [details] Patch Clearing flags on attachment: 280398 Committed r201664: <http://trac.webkit.org/changeset/201664>
All reviewed patches have been landed. Closing bug.