Bug 79069 - [[Put]] should throw if prototype chain contains a readonly property.
Summary: [[Put]] should throw if prototype chain contains a readonly property.
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Gavin Barraclough
: 72766 (view as bug list)
Depends on:
Reported: 2012-02-20 19:52 PST by Gavin Barraclough
Modified: 2012-03-01 02:20 PST (History)
1 user (show)

See Also:

The fix (10.25 KB, patch)
2012-02-20 19:56 PST, Gavin Barraclough
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Barraclough 2012-02-20 19:52:16 PST
Currently we only check the base of the put, not the prototype chain.  Fold this check in with the test for accessors.
Comment 1 Gavin Barraclough 2012-02-20 19:56:27 PST
Created attachment 127902 [details]
The fix
Comment 2 Gavin Barraclough 2012-02-20 22:17:21 PST
Fixed in r108304
Comment 3 Gavin Barraclough 2012-03-01 02:20:24 PST
*** Bug 72766 has been marked as a duplicate of this bug. ***