WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
75231
Fail to throw in strict mode on assign to read only static properties
https://bugs.webkit.org/show_bug.cgi?id=75231
Summary
Fail to throw in strict mode on assign to read only static properties
Gavin Barraclough
Reported
2011-12-26 16:27:43 PST
Attempting to put to a readonly property should throw in strict mode, but we fail to do so for properties in static tables (e.g. values on Number, RegExp constructors). and static values in symbol tables of the variable objects (e.g. the global object's "undefined" property).
Attachments
Fix
(14.87 KB, patch)
2011-12-26 16:31 PST
,
Gavin Barraclough
fpizlo
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Gavin Barraclough
Comment 1
2011-12-26 16:31:22 PST
Created
attachment 120560
[details]
Fix
WebKit Review Bot
Comment 2
2011-12-26 16:33:00 PST
Attachment 120560
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1 Source/JavaScriptCore/ChangeLog:9: Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] [5] Source/JavaScriptCore/ChangeLog:10: Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] [5] Source/JavaScriptCore/ChangeLog:11: Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] [5] Total errors found: 3 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Gavin Barraclough
Comment 3
2011-12-26 20:57:07 PST
Fixed in
r103697
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