<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Spurious "Can't create duplicate variable that shadows a global property""
href="https://bugs.webkit.org/show_bug.cgi?id=159270">159270</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Spurious "Can't create duplicate variable that shadows a global property"
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Safari Technology Preview
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>OS X 10.11
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>JavaScriptCore
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>d@domenic.me
</td>
</tr></table>
<p>
<div>
<pre><a href="https://settings-object-worker-client-ckrcsrtdqr.now.sh/">https://settings-object-worker-client-ckrcsrtdqr.now.sh/</a> (source at <a href="https://settings-object-worker-client-ckrcsrtdqr.now.sh/_src">https://settings-object-worker-client-ckrcsrtdqr.now.sh/_src</a>) 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.)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>