RESOLVED FIXED 149412
[JS Bindings] prototype.constructor should be writable
https://bugs.webkit.org/show_bug.cgi?id=149412
Summary [JS Bindings] prototype.constructor should be writable
Chris Dumez
Reported 2015-09-21 13:36:08 PDT
prototype.constructor should have the following properties: { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } as per the Web IDL specification: https://heycam.github.io/webidl/#interface-prototype-object In WebKit, it is currently not writable. It is writable in Firefox.
Attachments
Patch (120.63 KB, patch)
2015-09-21 13:46 PDT, Chris Dumez
no flags
Patch (190.82 KB, patch)
2016-01-28 20:38 PST, Chris Dumez
no flags
Patch (212.80 KB, patch)
2016-01-30 12:59 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-09-21 13:36:32 PDT
Chris Dumez
Comment 2 2015-09-21 13:46:39 PDT
Geoffrey Garen
Comment 3 2015-09-21 13:56:10 PDT
Comment on attachment 261681 [details] Patch r=me
WebKit Commit Bot
Comment 4 2015-09-21 15:39:44 PDT
Comment on attachment 261681 [details] Patch Clearing flags on attachment: 261681 Committed r190085: <http://trac.webkit.org/changeset/190085>
WebKit Commit Bot
Comment 5 2015-09-21 15:39:49 PDT
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 6 2015-09-23 16:55:55 PDT
Reopening as it was rolled out in <https://trac.webkit.org/r190190> for causing crashes in JSC :( See <rdar://problem/22825602> for more info.
Chris Dumez
Comment 7 2016-01-28 20:29:51 PST
Saam helped me figure out the issue. I'll give this another try.
Chris Dumez
Comment 8 2016-01-28 20:38:57 PST
Chris Dumez
Comment 9 2016-01-30 12:59:39 PST
Chris Dumez
Comment 10 2016-01-30 13:01:15 PST
Comment on attachment 270316 [details] Patch Clearing flags on attachment: 270316 Committed r195907: <http://trac.webkit.org/changeset/195907>
Chris Dumez
Comment 11 2016-01-30 13:01:22 PST
All reviewed patches have been landed. Closing bug.
Alexey Shvayka
Comment 12 2021-08-04 17:16:08 PDT
*** Bug 77970 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.