WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
166834
[WebIDL] Remove most of the custom bindings for the WebGL code
https://bugs.webkit.org/show_bug.cgi?id=166834
Summary
[WebIDL] Remove most of the custom bindings for the WebGL code
Sam Weinig
Reported
2017-01-08 18:22:13 PST
[WebIDL] Remove most of the custom bindings for the WebGL code
Attachments
Patch
(81.32 KB, patch)
2017-01-08 18:33 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(83.66 KB, patch)
2017-01-08 19:08 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(84.73 KB, patch)
2017-01-08 19:15 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(84.83 KB, patch)
2017-01-08 19:26 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews101 for mac-elcapitan
(944.44 KB, application/zip)
2017-01-08 20:37 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews105 for mac-elcapitan-wk2
(974.14 KB, application/zip)
2017-01-08 20:39 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews117 for mac-elcapitan
(1.74 MB, application/zip)
2017-01-08 20:45 PST
,
Build Bot
no flags
Details
Patch
(88.01 KB, patch)
2017-01-08 21:36 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews100 for mac-elcapitan
(971.39 KB, application/zip)
2017-01-08 22:49 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews107 for mac-elcapitan-wk2
(995.98 KB, application/zip)
2017-01-08 22:50 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews113 for mac-elcapitan
(1.70 MB, application/zip)
2017-01-08 23:00 PST
,
Build Bot
no flags
Details
Patch
(106.45 KB, patch)
2017-01-10 10:52 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(107.67 KB, patch)
2017-01-10 11:18 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews103 for mac-elcapitan
(974.52 KB, application/zip)
2017-01-10 12:29 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews117 for mac-elcapitan
(1.71 MB, application/zip)
2017-01-10 12:36 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews105 for mac-elcapitan-wk2
(988.11 KB, application/zip)
2017-01-10 12:37 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews121 for ios-simulator-wk2
(9.42 MB, application/zip)
2017-01-10 12:51 PST
,
Build Bot
no flags
Details
Patch
(107.75 KB, patch)
2017-01-10 13:17 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(107.82 KB, patch)
2017-01-10 14:21 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(69.33 KB, patch)
2017-01-13 08:51 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Show Obsolete
(20)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2017-01-08 18:33:59 PST
Created
attachment 298324
[details]
Patch
Sam Weinig
Comment 2
2017-01-08 18:35:42 PST
Only thing left is getExtension in WebGLRenderingContextBase.idl, which, with a little refactoring, we can use the new OverrideIDLType extended attribute to vanquish.
Sam Weinig
Comment 3
2017-01-08 19:08:32 PST
Created
attachment 298326
[details]
Patch
Sam Weinig
Comment 4
2017-01-08 19:15:57 PST
Created
attachment 298327
[details]
Patch
Sam Weinig
Comment 5
2017-01-08 19:26:12 PST
Created
attachment 298328
[details]
Patch
Build Bot
Comment 6
2017-01-08 20:37:40 PST
Comment on
attachment 298328
[details]
Patch
Attachment 298328
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/2856449
New failing tests: fast/canvas/webgl/context-lost.html webgl/1.0.2/conformance/state/gl-object-get-calls.html fast/canvas/webgl/gl-object-get-calls.html webgl/1.0.2/conformance/context/context-lost.html fast/canvas/webgl/uniform-array-length-overflow.html
Build Bot
Comment 7
2017-01-08 20:37:45 PST
Created
attachment 298329
[details]
Archive of layout-test-results from ews101 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 8
2017-01-08 20:39:09 PST
Comment on
attachment 298328
[details]
Patch
Attachment 298328
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/2856453
New failing tests: fast/canvas/webgl/context-lost.html webgl/1.0.2/conformance/state/gl-object-get-calls.html fast/canvas/webgl/gl-object-get-calls.html webgl/1.0.2/conformance/context/context-lost.html fast/canvas/webgl/uniform-array-length-overflow.html
Build Bot
Comment 9
2017-01-08 20:39:14 PST
Created
attachment 298330
[details]
Archive of layout-test-results from ews105 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Build Bot
Comment 10
2017-01-08 20:45:04 PST
Comment on
attachment 298328
[details]
Patch
Attachment 298328
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/2856455
New failing tests: fast/canvas/webgl/context-lost.html webgl/1.0.2/conformance/state/gl-object-get-calls.html fast/canvas/webgl/gl-object-get-calls.html webgl/1.0.2/conformance/context/context-lost.html fast/canvas/webgl/uniform-array-length-overflow.html
Build Bot
Comment 11
2017-01-08 20:45:08 PST
Created
attachment 298332
[details]
Archive of layout-test-results from ews117 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Sam Weinig
Comment 12
2017-01-08 21:36:36 PST
Created
attachment 298333
[details]
Patch
Sam Weinig
Comment 13
2017-01-08 21:47:54 PST
The timeout of uniform-array-length-overflow.html is interesting. It illustrates that our IDLSequence conversion code is just too slow. The custom code was doing it's conversion in toNumberVector, which got the length, and then did a get() for each integer between 0 and length. The generic IDL conversion code that I switched it to uses JSC's forEachInIterable(), which may just be too slow. I will look into speeding that up and/or special casing js arrays.
Build Bot
Comment 14
2017-01-08 22:49:13 PST
Comment on
attachment 298333
[details]
Patch
Attachment 298333
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/2856830
New failing tests: fast/canvas/webgl/gl-object-get-calls.html fast/canvas/webgl/uniform-array-length-overflow.html
Build Bot
Comment 15
2017-01-08 22:49:18 PST
Created
attachment 298334
[details]
Archive of layout-test-results from ews100 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 16
2017-01-08 22:50:09 PST
Comment on
attachment 298333
[details]
Patch
Attachment 298333
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/2856828
New failing tests: fast/canvas/webgl/gl-object-get-calls.html fast/canvas/webgl/uniform-array-length-overflow.html
Build Bot
Comment 17
2017-01-08 22:50:13 PST
Created
attachment 298335
[details]
Archive of layout-test-results from ews107 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Build Bot
Comment 18
2017-01-08 23:00:21 PST
Comment on
attachment 298333
[details]
Patch
Attachment 298333
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/2856847
New failing tests: fast/canvas/webgl/gl-object-get-calls.html fast/canvas/webgl/uniform-array-length-overflow.html
Build Bot
Comment 19
2017-01-08 23:00:25 PST
Created
attachment 298336
[details]
Archive of layout-test-results from ews113 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews113 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Sam Weinig
Comment 20
2017-01-10 10:52:28 PST
Created
attachment 298483
[details]
Patch
Sam Weinig
Comment 21
2017-01-10 11:18:08 PST
Created
attachment 298487
[details]
Patch
WebKit Commit Bot
Comment 22
2017-01-10 11:20:32 PST
Attachment 298487
[details]
did not pass style-queue: ERROR: Source/WebCore/ForwardingHeaders/runtime/JSGlobalObjectInlines.h:0: No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5] Total errors found: 1 in 23 files If any of these errors are false positives, please file a bug against check-webkit-style.
Saam Barati
Comment 23
2017-01-10 11:31:04 PST
Comment on
attachment 298487
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=298487&action=review
> Source/WebCore/bindings/js/JSDOMConvert.h:1039 > + JSC::JSObject* object = JSC::asObject(value);
This iteration code LGTM
> Source/WebCore/bindings/js/JSDOMConvert.h:1051 > + // FIXME: Is the right exception to throw?
Or maybe OOM?
Build Bot
Comment 24
2017-01-10 12:29:26 PST
Comment on
attachment 298487
[details]
Patch
Attachment 298487
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/2865412
New failing tests: fast/events/message-port-multi.html
Build Bot
Comment 25
2017-01-10 12:29:32 PST
Created
attachment 298497
[details]
Archive of layout-test-results from ews103 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 26
2017-01-10 12:36:35 PST
Comment on
attachment 298487
[details]
Patch
Attachment 298487
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/2865413
New failing tests: fast/events/message-port-multi.html
Build Bot
Comment 27
2017-01-10 12:36:41 PST
Created
attachment 298498
[details]
Archive of layout-test-results from ews117 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 28
2017-01-10 12:37:01 PST
Comment on
attachment 298487
[details]
Patch
Attachment 298487
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/2865425
New failing tests: fast/events/message-port-multi.html
Build Bot
Comment 29
2017-01-10 12:37:09 PST
Created
attachment 298499
[details]
Archive of layout-test-results from ews105 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Build Bot
Comment 30
2017-01-10 12:51:34 PST
Comment on
attachment 298487
[details]
Patch
Attachment 298487
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/2865447
New failing tests: fast/events/message-port-multi.html
Build Bot
Comment 31
2017-01-10 12:51:40 PST
Created
attachment 298504
[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.11.6
Sam Weinig
Comment 32
2017-01-10 13:17:51 PST
Created
attachment 298506
[details]
Patch
WebKit Commit Bot
Comment 33
2017-01-10 13:18:57 PST
Attachment 298506
[details]
did not pass style-queue: ERROR: Source/WebCore/ForwardingHeaders/runtime/JSGlobalObjectInlines.h:0: No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5] Total errors found: 1 in 23 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 34
2017-01-10 14:21:51 PST
Created
attachment 298513
[details]
Patch
WebKit Commit Bot
Comment 35
2017-01-10 14:24:14 PST
Attachment 298513
[details]
did not pass style-queue: ERROR: Source/WebCore/ForwardingHeaders/runtime/JSGlobalObjectInlines.h:0: No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5] Total errors found: 1 in 23 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 36
2017-01-10 15:26:17 PST
Finally ready to be reviewed.
Alex Christensen
Comment 37
2017-01-10 16:01:40 PST
Comment on
attachment 298513
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=298513&action=review
> Source/WebCore/Modules/indexeddb/IDBKeyRange.idl:31 > + [OverrideIDLType=IDLIDBKey] readonly attribute any lower;
This isn't really related to removing WebGL bindings, is it?
> Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:5330 > + # FIXME: We need a more robost way to specify this requirement so as not
robust
> Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:5362 > + # FIXME: We need a more robost way to specify this requirement so as not
robust
WebKit Commit Bot
Comment 38
2017-01-10 17:03:37 PST
Comment on
attachment 298513
[details]
Patch Clearing flags on attachment: 298513 Committed
r210567
: <
http://trac.webkit.org/changeset/210567
>
WebKit Commit Bot
Comment 39
2017-01-10 17:03:46 PST
All reviewed patches have been landed. Closing bug.
Sam Weinig
Comment 40
2017-01-13 08:50:57 PST
Reopening to attach new patch.
Sam Weinig
Comment 41
2017-01-13 08:51:01 PST
Created
attachment 298760
[details]
Patch
Sam Weinig
Comment 42
2017-01-13 08:51:53 PST
Wrong bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug