[Webkit-unassigned] [Bug 159270] New: Spurious "Can't create duplicate variable that shadows a global property"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 29 12:44:36 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=159270
Bug ID: 159270
Summary: Spurious "Can't create duplicate variable that shadows
a global property"
Classification: Unclassified
Product: WebKit
Version: Safari Technology Preview
Hardware: Macintosh
OS: OS X 10.11
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: d at domenic.me
https://settings-object-worker-client-ckrcsrtdqr.now.sh/ (source at https://settings-object-worker-client-ckrcsrtdqr.now.sh/_src) triggers "SyntaxError: Can't create duplicate variable that shadows a global property: 'c'"
The window has a named property 'c' since I declare an <iframe> with id="c". But then I tried to do `const c = document.querySelector("#c").contentWindow` and got that error.
That error does not appear in other browsers, and I believe has no support in the specs. (Not that window.c is supposed to be configurable.)
--
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/20160629/1e646681/attachment.html>
More information about the webkit-unassigned
mailing list