WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
177588
Poor Error Message: "Attempted to assign to readonly property" in strict mode
https://bugs.webkit.org/show_bug.cgi?id=177588
Summary
Poor Error Message: "Attempted to assign to readonly property" in strict mode
Joseph Pecoraro
Reported
2017-09-27 20:55:09 PDT
Poor Error Message: "Attempted to assign to readonly property" in strict mode Test <script>"use strict"; var str = "x"; str["foo"] = 100;</script> JavaScriptCore: TypeError: Attempted to assign to readonly property. Chrome: TypeError: Cannot create property 'foo' on string 'x' Firefox: TypeError: can't assign to properties of (new String("x")): not an object
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-09-27 20:56:54 PDT
<
rdar://problem/34705765
>
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