Bug 156781

Summary: Drop [UsePointersEvenForNonNullableObjectArguments] from several Canvas interfaces
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: BindingsAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, commit-queue, darin, dino, esprehn+autocc, graouts, gyuyoung.kim, kondapallykalyan, rniwa, youennf
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews103 for mac-yosemite
none
Archive of layout-test-results from ews121 for ios-simulator-wk2
none
Archive of layout-test-results from ews114 for mac-yosemite
none
Archive of layout-test-results from ews107 for mac-yosemite-wk2
none
Patch
none
Patch none

Chris Dumez
Reported 2016-04-19 21:52:24 PDT
Drop [UsePointersEvenForNonNullableObjectArguments] from several Canvas interfaces
Attachments
Patch (28.95 KB, patch)
2016-04-19 21:58 PDT, Chris Dumez
no flags
Archive of layout-test-results from ews103 for mac-yosemite (780.15 KB, application/zip)
2016-04-19 22:42 PDT, Build Bot
no flags
Archive of layout-test-results from ews121 for ios-simulator-wk2 (641.45 KB, application/zip)
2016-04-19 22:51 PDT, Build Bot
no flags
Archive of layout-test-results from ews114 for mac-yosemite (890.81 KB, application/zip)
2016-04-19 23:04 PDT, Build Bot
no flags
Archive of layout-test-results from ews107 for mac-yosemite-wk2 (1.01 MB, application/zip)
2016-04-19 23:26 PDT, Build Bot
no flags
Patch (30.66 KB, patch)
2016-04-20 09:03 PDT, Chris Dumez
no flags
Patch (30.77 KB, patch)
2016-04-20 09:48 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-04-19 21:58:40 PDT
Build Bot
Comment 2 2016-04-19 22:42:04 PDT
Comment on attachment 276802 [details] Patch Attachment 276802 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1189227 New failing tests: canvas/philip/tests/2d.drawImage.null.html
Build Bot
Comment 3 2016-04-19 22:42:10 PDT
Created attachment 276803 [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
Build Bot
Comment 4 2016-04-19 22:51:16 PDT
Comment on attachment 276802 [details] Patch Attachment 276802 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/1189238 New failing tests: canvas/philip/tests/2d.drawImage.null.html
Build Bot
Comment 5 2016-04-19 22:51:20 PDT
Created attachment 276804 [details] Archive of layout-test-results from ews121 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews121 Port: ios-simulator-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 6 2016-04-19 23:04:44 PDT
Comment on attachment 276802 [details] Patch Attachment 276802 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1189249 New failing tests: canvas/philip/tests/2d.drawImage.null.html
Build Bot
Comment 7 2016-04-19 23:04:50 PDT
Created attachment 276806 [details] Archive of layout-test-results from ews114 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 8 2016-04-19 23:26:36 PDT
Comment on attachment 276802 [details] Patch Attachment 276802 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1189369 New failing tests: canvas/philip/tests/2d.drawImage.null.html
Build Bot
Comment 9 2016-04-19 23:26:42 PDT
Created attachment 276807 [details] Archive of layout-test-results from ews107 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Chris Dumez
Comment 10 2016-04-20 09:03:14 PDT
Darin Adler
Comment 11 2016-04-20 09:25:27 PDT
Comment on attachment 276827 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=276827&action=review Looks like this patch has more cases of null raising a different exception now than it was before. Would be nice to cover those in some existing regression test. > Source/WebCore/html/canvas/WebGLDebugShaders.idl:31 > + [StrictTypeChecking] DOMString? getTranslatedShaderSource(WebGLShader? shader); No FIXME? Why is the shader nullable?
Chris Dumez
Comment 12 2016-04-20 09:26:09 PDT
Comment on attachment 276827 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=276827&action=review >> Source/WebCore/html/canvas/WebGLDebugShaders.idl:31 >> + [StrictTypeChecking] DOMString? getTranslatedShaderSource(WebGLShader? shader); > > No FIXME? Why is the shader nullable? I did not find the corresponding spec but I'll give it another try.
Chris Dumez
Comment 13 2016-04-20 09:42:53 PDT
Comment on attachment 276827 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=276827&action=review >>> Source/WebCore/html/canvas/WebGLDebugShaders.idl:31 >>> + [StrictTypeChecking] DOMString? getTranslatedShaderSource(WebGLShader? shader); >> >> No FIXME? Why is the shader nullable? > > I did not find the corresponding spec but I'll give it another try. Ok, found it: https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ Looks like it should not be nullable indeed. I'll add a FIXME
Chris Dumez
Comment 14 2016-04-20 09:48:57 PDT
WebKit Commit Bot
Comment 15 2016-04-20 10:39:44 PDT
Comment on attachment 276831 [details] Patch Clearing flags on attachment: 276831 Committed r199776: <http://trac.webkit.org/changeset/199776>
WebKit Commit Bot
Comment 16 2016-04-20 10:39:51 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.