Bug 79059 - DefineOwnProperty fails with numeric properties & Object.prototype
Summary: DefineOwnProperty fails with numeric properties & Object.prototype
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Gavin Barraclough
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-20 17:36 PST by Gavin Barraclough
Modified: 2012-02-20 18:35 PST (History)
0 users

See Also:


Attachments
Fix (6.86 KB, patch)
2012-02-20 17:39 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 17:36:00 PST
ObjectPrototype caches whether it contains any numeric properties (m_hasNoPropertiesWithUInt32Names), calls to defineOwnProperty need to update this cache.
Comment 1 Gavin Barraclough 2012-02-20 17:39:53 PST
Created attachment 127875 [details]
Fix
Comment 2 Gavin Barraclough 2012-02-20 18:35:12 PST
Fixed in r108282.