[Webkit-unassigned] [Bug 145738] New: Deleteting static function twice revives property with undefined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 7 12:55:17 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145738

            Bug ID: 145738
           Summary: Deleteting static function twice revives property with
                    undefined
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: utatane.tea at gmail.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150607/807da055/attachment.html>


More information about the webkit-unassigned mailing list