[Webkit-unassigned] [Bug 205769] New: JSON.parse should lookup prototype chains during revival

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 4 14:54:06 PST 2020


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

            Bug ID: 205769
           Summary: JSON.parse should lookup prototype chains during
                    revival
           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-internalizejsonproperty (step 1)
Test262:
  https://test262.report/browse/built-ins/JSON/parse/reviver-array-get-prop-from-prototype.js
  https://test262.report/browse/built-ins/JSON/parse/reviver-object-get-prop-from-prototype.js

Currently, JSC gets only own properties. ChakraCore fails array test, yet passes the object test.
Related steps of InternalizeJSONProperty were not normatively changed since ES5.

-- 
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/93473283/attachment.htm>


More information about the webkit-unassigned mailing list