<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 &quot;Can't create duplicate variable that shadows a global property&quot;"
   href="https://bugs.webkit.org/show_bug.cgi?id=159270">159270</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Spurious &quot;Can't create duplicate variable that shadows a global property&quot;
          </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&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>d&#64;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 &quot;SyntaxError: Can't create duplicate variable that shadows a global property: 'c'&quot;

The window has a named property 'c' since I declare an &lt;iframe&gt; with id=&quot;c&quot;. But then I tried to do `const c = document.querySelector(&quot;#c&quot;).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>