This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26519 - Window.open(url, "") behaves wrong
Summary: Window.open(url, "") behaves wrong
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-04 19:46 UTC by Jonas Sicking (Not reading bugmail)
Modified: 2014-09-19 21:21 UTC (History)
2 users (show)

See Also:


Attachments

Description Jonas Sicking (Not reading bugmail) 2014-08-04 19:46:37 UTC
bz claims it should behave as Window.open(url, "_blank"), but the spec currently calls for it to behave like Window.open(url, "_self"). This doesn't appear to match existing browsers.
Comment 1 Ian 'Hixie' Hickson 2014-09-09 00:07:01 UTC
This is just about converting "" to "_blank" in the window.open() handling, right? Not an IDL change or anything more involved.

I should probably change this to an <ol> list of steps while I'm at it.
Comment 2 Jonas Sicking (Not reading bugmail) 2014-09-09 00:34:17 UTC
Yup.
Comment 3 contributor 2014-09-19 21:21:18 UTC
Checked in as WHATWG revision r8795.
Check-in comment: Match browsers better
https://html5.org/tools/web-apps-tracker?from=8794&to=8795