RESOLVED FIXED 134364
DOM attributes on prototypes should be configurable
https://bugs.webkit.org/show_bug.cgi?id=134364
Summary DOM attributes on prototypes should be configurable
Mark Hahnenberg
Reported 2014-06-26 14:54:27 PDT
Currently they're not due to the internal implementation of CustomGetters/CustomSetters vs. normal Getters/Setters. Allowing mixing of Custom and non-Custom Getters and Setters in the same slot will enable attributes on the prototype to be configurable.
Attachments
Patch (57.97 KB, patch)
2015-09-21 14:42 PDT, Chris Dumez
no flags
Archive of layout-test-results from ews103 for mac-mavericks (1.09 MB, application/zip)
2015-09-21 15:23 PDT, Build Bot
no flags
Archive of layout-test-results from ews105 for mac-mavericks-wk2 (1.14 MB, application/zip)
2015-09-21 15:26 PDT, Build Bot
no flags
Patch (55.43 KB, patch)
2015-09-21 16:14 PDT, Chris Dumez
no flags
Patch (55.48 KB, patch)
2015-09-21 16:20 PDT, Chris Dumez
no flags
Patch (55.62 KB, patch)
2015-09-21 21:48 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-09-21 14:42:52 PDT
Build Bot
Comment 2 2015-09-21 15:23:36 PDT
Comment on attachment 261685 [details] Patch Attachment 261685 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/194514 New failing tests: imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/type.delete.html js/dom/getOwnPropertyDescriptor.html js/dom/global-constructors-attributes.html imported/w3c/canvas/2d.type.delete.html js/dom/global-constructors-deletable.html js/dom/global-constructors-attributes-dedicated-worker.html imported/w3c/web-platform-tests/dom/interface-objects.html js/dom/global-constructors-attributes-idb.html imported/w3c/web-platform-tests/dom/interfaces.html imported/w3c/web-platform-tests/html/dom/interfaces.html imported/w3c/canvas/type.delete.html
Build Bot
Comment 3 2015-09-21 15:23:40 PDT
Created attachment 261689 [details] Archive of layout-test-results from ews103 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 4 2015-09-21 15:26:46 PDT
Comment on attachment 261685 [details] Patch Attachment 261685 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/194515 New failing tests: imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/type.delete.html js/dom/getOwnPropertyDescriptor.html js/dom/global-constructors-attributes.html imported/w3c/canvas/2d.type.delete.html js/dom/global-constructors-attributes-dedicated-worker.html js/dom/global-constructors-deletable.html imported/w3c/web-platform-tests/dom/interface-objects.html js/dom/global-constructors-attributes-idb.html imported/w3c/web-platform-tests/dom/interfaces.html imported/w3c/web-platform-tests/html/dom/interfaces.html imported/w3c/canvas/type.delete.html
Build Bot
Comment 5 2015-09-21 15:26:50 PDT
Created attachment 261690 [details] Archive of layout-test-results from ews105 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Chris Dumez
Comment 6 2015-09-21 16:14:31 PDT
Chris Dumez
Comment 7 2015-09-21 16:20:32 PDT
Sam Weinig
Comment 8 2015-09-21 20:07:03 PDT
Comment on attachment 261700 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=261700&action=review > LayoutTests/fast/dom/attributes-configurable.html:10 > +shouldBeTrue("event.__proto__.hasOwnProperty('eventPhase')"); Seems useful to also have a test that checks the result of Object.getOwnPropertyDescriptor. (something like, Object.getOwnPropertyDescriptor(event.__proto__, "eventPhase").configurable).
Chris Dumez
Comment 9 2015-09-21 20:22:30 PDT
Comment on attachment 261700 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=261700&action=review >> LayoutTests/fast/dom/attributes-configurable.html:10 >> +shouldBeTrue("event.__proto__.hasOwnProperty('eventPhase')"); > > Seems useful to also have a test that checks the result of Object.getOwnPropertyDescriptor. (something like, Object.getOwnPropertyDescriptor(event.__proto__, "eventPhase").configurable). Right, will do. Thanks.
Chris Dumez
Comment 10 2015-09-21 21:48:21 PDT
WebKit Commit Bot
Comment 11 2015-09-21 22:37:12 PDT
Comment on attachment 261721 [details] Patch Clearing flags on attachment: 261721 Committed r190104: <http://trac.webkit.org/changeset/190104>
WebKit Commit Bot
Comment 12 2015-09-21 22:37:18 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.