<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 - _blank named browsing context should not be case-sensitive"
   href="https://bugs.webkit.org/show_bug.cgi?id=169747">169747</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>_blank named browsing context should not be case-sensitive
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </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>New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lyza&#64;lyza.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Per section 7.1.5 Named Browsing Contexts[1] of the WHATWG HTML specification:

<span class="quote">&gt; A valid browsing context name or keyword is any string that is either a valid browsing context name or that is an ASCII case-insensitive match for one of: _blank, _self, _parent, or _top.</span >

However, the behavior observed is that case-mixed variants of `_blank` are treated as non-keyword browsing context names. To reproduce, e.g.:

1. `window.open` into `_bLAnk`
2. `window.open` into `_bLAnk`

Expected result:

Browser should create two new browsing contexts, treating `_bLAnk` as a case-insensitive match for the keyword `_blank`.

Actual result:

Browser only creates one new browsing context. The second invocation of `window.open` reuses the `_bLAnk` browsing context created by the first invocation.

Relevant web-platform-tests: <a href="https://github.com/w3c/web-platform-tests/pull/5145">https://github.com/w3c/web-platform-tests/pull/5145</a>

[1] <a href="https://html.spec.whatwg.org/#browsing-context-names">https://html.spec.whatwg.org/#browsing-context-names</a></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>