[Webkit-unassigned] [Bug 205767] New: JSON.parse should initialize wrapper object with [[DefineOwnProperty]]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 4 13:11:41 PST 2020


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

            Bug ID: 205767
           Summary: JSON.parse should initialize wrapper object with
                    [[DefineOwnProperty]]
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Trivial
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: shvaikalesh at gmail.com

ECMA262: https://tc39.es/ecma262/#sec-json.parse (step 7.c)
Test262: https://test262.report/browse/built-ins/JSON/parse/reviver-wrapper.js

Currently, JSC performs [[Set]] instead, which is observable by a setter on Object.prototype (with empty String key).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200104/11b4ae67/attachment.htm>


More information about the webkit-unassigned mailing list