[whatwg] Proposal for Links to Unrelated Browsing Contexts

Mihai Parparita mihaip at chromium.org
Mon Sep 24 17:42:02 PDT 2012


On Mon, Sep 24, 2012 at 12:11 PM, Ian Hickson <ian at hixie.ch> wrote:

> Why does GMail need to use window.open()? Surely the right way to expose a
> link is to use <a href="">. What is forcing them to use window.open()?
>

I can't speak for Gmail, but Google Reader uses window.open since it allows
"unrelated" links to be opened in response to a key event (the "v" keyboard
shortcut). It would also benefit from severing all ties to the opened
window.

Mihai



More information about the whatwg mailing list