WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 145705
145738
Deleteting static function twice revives property with undefined
https://bugs.webkit.org/show_bug.cgi?id=145738
Summary
Deleteting static function twice revives property with undefined
Yusuke Suzuki
Reported
2015-06-07 12:55:17 PDT
RegExp.prototype.hasOwnProperty('exec'); // true delete RegExp.prototype.exec; // true RegExp.prototype.hasOwnProperty('exec'); // false delete RegExp.prototype.exec; // true RegExp.prototype.hasOwnProperty('exec'); // true ??? This is because JSObject::deleteProperty set undefine by `putEntry` if `isValidOffset(...)` is false (deleted).
Attachments
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2015-06-07 13:44:52 PDT
We'll fix this with issue 145705. *** This bug has been marked as a duplicate of
bug 145705
***
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