[Webkit-unassigned] [Bug 170128] New: _top, _self named browsing context should not be case-sensitive
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 27 12:48:12 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=170128
Bug ID: 170128
Summary: _top, _self named browsing context should not be
case-sensitive
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: OS X 10.11
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 `_top` and `_self` are treated as non-keyword browsing context names. To reproduce, e.g.:
1. `window.open` into `_tOP`
or
1. `window.open` into `_seLF`
Expected result[2]:
For `_tOP`, browser should re-use top-level browsing context, or current if top
For `_seLF`, browser should re-use current browsing context
Actual result:
Browser opens document in new browsing context, treating `_tOP` and `_seLF` as new, named contexts
Similar to:
https://bugs.webkit.org/show_bug.cgi?id=169748 (_parent)
and
https://bugs.webkit.org/show_bug.cgi?id=169747 (_blank)
Relevant web-platform-tests: https://github.com/w3c/web-platform-tests/pull/5233
[1] https://html.spec.whatwg.org/#browsing-context-names
[2] https://html.spec.whatwg.org/#valid-browsing-context-name-or-keyword
--
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/20170327/a27a48fc/attachment.html>
More information about the webkit-unassigned
mailing list