Bug 97435 - JSArray::putByIndex asserts with readonly property on prototype
Summary: JSArray::putByIndex asserts with readonly property on 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: Filip Pizlo
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-09-24 01:01 PDT by Gavin Barraclough
Modified: 2012-09-24 17:20 PDT (History)
0 users

See Also:


Attachments
the patch (6.84 KB, patch)
2012-09-24 17:00 PDT, Filip Pizlo
ggaren: 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-09-24 01:01:23 PDT
Object.defineProperty(Array.prototype, 0, { writable: false });
[42].concat();
Comment 1 Gavin Barraclough 2012-09-24 02:11:39 PDT
<rdar://problem/12357084> [REGRESSION] JSArray::putByIndex asserts with readonly property on prototype
Comment 2 Filip Pizlo 2012-09-24 17:00:31 PDT
Created attachment 165469 [details]
the patch
Comment 3 Geoffrey Garen 2012-09-24 17:04:58 PDT
Comment on attachment 165469 [details]
the patch

r=me
Comment 4 Filip Pizlo 2012-09-24 17:20:22 PDT
Landed in http://trac.webkit.org/changeset/129432