Browsing context keyword (_blank, _parent etc) should not be case-sensitive

Issue #11403319 • Assigned to Travis L.

Details

Created
Mar 27, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Chrome
  • Safari
  • Opera
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Steps to reproduce the problem:

  1. window.open a document into _bLAnk.
  2. window.open a document into _bLAnk.

What is the expected behavior?
The browser should create two new browsing contexts.

What went wrong?
Only one new browsing context is created.

The browser is treating _bLAnk (or other case-mixing of _blank) as a new, named, non-keyword browsing context. The second window.open call is reusing the browsing context (_bLAnk) created by the first window.open.

This works as expected in Firefox.

Relevant HTML spec section 7.1.5 Named Browsing Contexts: https://html.spec.whatwg.org/#browsing-context-names

Relevant web-platform-tests tests:
https://github.com/w3c/web-platform-tests/pull/5145
https://github.com/w3c/web-platform-tests/pull/5150

whatwg/html issue discussing this, with web compat analysis
https://github.com/whatwg/html/issues/2443

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “Travis L.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in