WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
79170
Should be able to reconfigure a non-configurable property as read-only
https://bugs.webkit.org/show_bug.cgi?id=79170
Summary
Should be able to reconfigure a non-configurable property as read-only
Gavin Barraclough
Reported
2012-02-21 17:36:20 PST
See ES5.1 8.12.9 10.a.i - the spec prohibits making a read-only property writable, but does not inhibit making a writable property read-only.
Attachments
Fix
(9.26 KB, patch)
2012-02-21 17:39 PST
,
Gavin Barraclough
sam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Gavin Barraclough
Comment 1
2012-02-21 17:39:35 PST
Created
attachment 128095
[details]
Fix
Sam Weinig
Comment 2
2012-02-21 17:42:27 PST
Comment on
attachment 128095
[details]
Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=128095&action=review
> Source/JavaScriptCore/ChangeLog:3 > + Should be able to reconfigure a non-configurable property as writable
This title contradicts the description below.
> Source/JavaScriptCore/runtime/JSGlobalData.h:252 > - > +
Why?
> Source/JavaScriptCore/runtime/JSGlobalData.h:370 > + bool m_inDefineOwnProperty; > + > +
This whitespace is not all needed.
Gavin Barraclough
Comment 3
2012-02-21 17:51:18 PST
Fixed in
r108427
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug