-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rel=noopener for <form> and <base> elements #2983
Comments
Adding My first concern about the I'm also curious about |
It wouldn't work for |
Would it be possible to start with just the
Good catch. Perhaps an
Our services use a pop-up login window facility that depends on |
Other than |
This will help when well behaved ads, for example, using regular |
Mozilla would like to add @cdumez is this something Apple would like to do as well? @tkent-google @creis Google? ( |
Yes, I support adding rel to form. |
Adding |
This is a reasonable change. |
I strongly support adding noopener behavior to I propose that for The fact that we previously made the bad design choice of using |
I think adding the functionality is pretty reasonable. I don't have strong opinions about how exactly we spell it: On the other hand, I'm not at all enthusiastic about extending |
@sideshowbarker I don't know about that. For #4078 Safari is shipping |
Yeah, I guess it’s a lost cause if we keep getting stuck with changes to the HTML language happening in way that preempts any opportunity for web developers and the wider community to ever have a chance to weigh in on what would be the preferred way to hook the feature into the language. It seems to me we generally don’t end up with the best designs for the long term when one browser project “experiments” with unilaterally making some change to the language that they decide on their own is the most convenient hook for hanging some new UA behavioral change on — and then another browser project goes ahead and implements it. What we end up with instead is technical debt. What we’ve been doing with
What we want is to associate some behavior with In the case of associating behavior with the But in this case the
If that happens then it would be better to add the capability to
Anyway I’m resigned to the likelihood that the facts that have been put on the ground here mean that I’m just tilting at windmills on this. But I do hope that in making future decisions we can find a way to avoid ending up imposing further technical debt like this — avoid painting ourselves into a corner the way that’s happened with |
Well, this is the first time I've seen someone complain about the way I also think it's not justified to say that the developer community did not get a say on #4078 while OP there obviously has a bunch of support, including from you, and thus far nothing negative in that thread. |
In particular to enable noopener, noreferrer, and opener values. Also default target=_blank to noopener. Fixes #2983.
In particular to enable noopener, noreferrer, and opener values. Also default target=_blank to noopener. Tests: ... Fixes #2983.
A concrete proposal for this is now at #4332 by the way. It retcons |
Yes
Yeah I think that’s necessary if we’re gonna have rel there |
In particular to enable noopener, noreferrer, and opener values. Also default <form target=_blank> to noopener. Tests: web-platform-tests/wpt#15356. Fixes #2983.
The
rel=noopener
is currently available only for<a>
and<area>
elements. I suggest adding this attribute-value pair also to:<form>
element, as it is well possible to have a<form target=_blank>
which creates thewindow.opener
binding in the newly created context (tested in Firefox 55);<base>
element, which can be already used to specify atarget=_blank
globally for all links. Having a way to make all these links noopener would be consistent with the current<base>
usage.The text was updated successfully, but these errors were encountered: