[Webkit-unassigned] [Bug 171915] New: [JSC] Proxy's GetPrototypeOf does not invoked during access to __proto__ property
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 10 01:48:37 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=171915
Bug ID: 171915
Summary: [JSC] Proxy's GetPrototypeOf does not invoked during
access to __proto__ property
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: gskachkov at gmail.com
Also I found interesting behavior of proxy:
```
var target = {};
proxy = new Proxy(target, {
getPrototypeOf(t) { console.log("get prototype:", t); return t.__proto__; }
});
proxy.__proto__ === target.__proto__;
```
In Chrome & FireFox it prints:
// get prototype: ....
// Object ...
In jsc we do not print `get prototype: ....`, just `Object ...`
--
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/20170510/82dbfa3e/attachment.html>
More information about the webkit-unassigned
mailing list