Bug 156781 - Drop [UsePointersEvenForNonNullableObjectArguments] from several Canvas interfaces
Summary: Drop [UsePointersEvenForNonNullableObjectArguments] from several Canvas inter...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-19 21:52 PDT by Chris Dumez
Modified: 2016-04-20 10:39 PDT (History)
10 users (show)

See Also:


Attachments
Patch (28.95 KB, patch)
2016-04-19 21:58 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
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 Details
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 Details
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 Details
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 Details
Patch (30.66 KB, patch)
2016-04-20 09:03 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (30.77 KB, patch)
2016-04-20 09:48 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-04-19 21:52:24 PDT
Drop [UsePointersEvenForNonNullableObjectArguments] from several Canvas interfaces
Comment 1 Chris Dumez 2016-04-19 21:58:40 PDT
Created attachment 276802 [details]
Patch
Comment 2 Build Bot 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
Comment 3 Build Bot 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
Comment 4 Build Bot 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
Comment 5 Build Bot 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
Comment 6 Build Bot 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
Comment 7 Build Bot 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
Comment 8 Build Bot 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
Comment 9 Build Bot 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
Comment 10 Chris Dumez 2016-04-20 09:03:14 PDT
Created attachment 276827 [details]
Patch
Comment 11 Darin Adler 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?
Comment 12 Chris Dumez 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.
Comment 13 Chris Dumez 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
Comment 14 Chris Dumez 2016-04-20 09:48:57 PDT
Created attachment 276831 [details]
Patch
Comment 15 WebKit Commit Bot 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>
Comment 16 WebKit Commit Bot 2016-04-20 10:39:51 PDT
All reviewed patches have been landed.  Closing bug.