WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
151160
Class's __proto__ should not be writable
https://bugs.webkit.org/show_bug.cgi?id=151160
Summary
Class's __proto__ should not be writable
Ryosuke Niwa
Reported
2015-11-11 15:18:50 PST
Fix the FIXME in ClassExprNode::emitBytecode: // FIXME: Make the prototype non-configurable & non-writable.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2015-11-11 15:19:50 PST
class A {} class B extends A { constructor() { super(); } } new B; class C { constructor() { alert('FAIL') } } B.__proto__ = C; new B; should never alert FAIL.
Keith Miller
Comment 2
2015-12-16 14:21:08 PST
This is not valid anymore in the spec so... closing
Keith Miller
Comment 3
2015-12-16 14:21:32 PST
err... valid => true
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