[Webkit-unassigned] [Bug 169747] New: _blank named browsing context should not be case-sensitive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 16 06:15:18 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=169747

            Bug ID: 169747
           Summary: _blank named browsing context should not be
                    case-sensitive
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lyza at lyza.com

Per section 7.1.5 Named Browsing Contexts[1] of the WHATWG HTML specification:

> 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.

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: https://github.com/w3c/web-platform-tests/pull/5145

[1] https://html.spec.whatwg.org/#browsing-context-names

-- 
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/20170316/93de23b6/attachment-0001.html>


More information about the webkit-unassigned mailing list