[Webkit-unassigned] [Bug 163574] New: Our ToThis semantics look to be affected by whether or not a local variable is captured
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 17 17:33:23 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=163574
Bug ID: 163574
Summary: Our ToThis semantics look to be affected by whether or
not a local variable is captured
Classification: Unclassified
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: sbarati at apple.com
CC: benjamin at webkit.org, fpizlo at apple.com,
ggaren at apple.com, gskachkov at gmail.com,
jfbastien at apple.com, keith_miller at apple.com,
mark.lam at apple.com, msaboff at apple.com,
oliver at apple.com, ticaiolima at gmail.com,
utatane.tea at gmail.com
This doesn't seem spec compliant to me:
```
function foo() { function bar() { return x; } var x = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").get; return x(); }
foo() // [object Object]
```
```
function foo() { var x = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").get; return x(); }
foo() // Exception: TypeError: Can't convert undefined or null to object
```
--
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/20161018/e39b5148/attachment.html>
More information about the webkit-unassigned
mailing list