[Webkit-unassigned] [Bug 138859] global function declaration should be throwing a TypeError if trying to override a readonly property
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 19 08:51:54 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=138859
Oliver Hunt <oliver at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Duplicate global function |global function declaration
|declaration does not throw |should be throwing a
|TypeError |TypeError if trying to
| |override a readonly
| |property
--- Comment #1 from Oliver Hunt <oliver at apple.com> ---
Retitling to reflect actual bug - it's not due to a duplicate function. We're short circuiting creation of a new global property when we decide to shadow and that means we skip the readonly check on the existing property. Whoops.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141119/18f873b4/attachment-0002.html>
More information about the webkit-unassigned
mailing list