[Webkit-unassigned] [Bug 23932] Current API does not allow us to open target="_blank" links in new tabs instead of windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 4 11:36:07 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23932





------- Comment #8 from xan.lopez at gmail.com  2009-03-04 11:36 PDT -------
(In reply to comment #7)
> Could you describe exactly what page content and according user action trigger
> this? I guess it must at least be anchors with a blank target, but then again,
> that's what create-web-view already does? And does it cover anchors with, say,
> "_new" or "madeuptargetname"? Does it cover the context menu item "New Window"?

Keep in mind that create-web-view is much more generic than this, and does not
include neither a 'reason' (like 'link clicked') or state/button information.
This signal overlaps a lot with navigation-action, but the problem with that
one signal is that it won't include any metadata (reason, state, button, ...)
for, at least, target=_blank links. I suggested fixing that, but various Apple
developers told me this was by design.

One way to see it would be that this signal covers new-windows created by some
navigation action, while create-web-view covers all possible cases of new
'windows' (all covered by this signal + popups, etc). They both cover different
use-case cases, and I think if properly documented users will know which one
they need.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list