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.
rdar://problem/22545096
Created attachment 261681 [details] Patch
Comment on attachment 261681 [details] Patch r=me
Comment on attachment 261681 [details] Patch Clearing flags on attachment: 261681 Committed r190085: <http://trac.webkit.org/changeset/190085>
All reviewed patches have been landed. Closing bug.
Reopening as it was rolled out in <https://trac.webkit.org/r190190> for causing crashes in JSC :( See <rdar://problem/22825602> for more info.
Saam helped me figure out the issue. I'll give this another try.
Created attachment 270175 [details] Patch
Created attachment 270316 [details] Patch
Comment on attachment 270316 [details] Patch Clearing flags on attachment: 270316 Committed r195907: <http://trac.webkit.org/changeset/195907>
*** Bug 77970 has been marked as a duplicate of this bug. ***