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
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.