[whatwg] Proposal for Links to Unrelated Browsing Contexts

Ian Hickson ian at hixie.ch
Mon Sep 24 12:11:03 PDT 2012


On Mon, 27 Aug 2012, Charlie Reis wrote:
> > 
> > Does this need to be done from window.open()?
> 
> Yes.  For example, Gmail uses window.open() for the links in emails, but 
> would like the links to open in an unrelated context.

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()? 
(Using window.open() has a number of negative side-effects, so if we could 
move them off that that would be a win. Furthermore, not having to support 
window.open() here would in general make this far easier. So if there 
really is a need to support window.open(), I would like to understand it.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list