Make target=_blank on anchors imply rel=noopener
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: baku)
References
(Regressed 3 open bugs)
Details
(Keywords: dev-doc-complete, site-compat)
Attachments
(2 files, 5 obsolete files)
3.81 KB,
patch
|
annevk
:
review+
|
Details | Diff | Splinter Review |
7.79 KB,
patch
|
nika
:
review+
|
Details | Diff | Splinter Review |
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Reporter | ||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Reporter | ||
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
Updated•6 years ago
|
Reporter | ||
Comment 9•6 years ago
|
||
Assignee | ||
Comment 10•6 years ago
|
||
Assignee | ||
Comment 11•6 years ago
|
||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 15•6 years ago
|
||
Assignee | ||
Comment 16•6 years ago
|
||
Reporter | ||
Comment 17•6 years ago
|
||
Assignee | ||
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
Comment 20•6 years ago
|
||
Assignee | ||
Comment 21•6 years ago
|
||
Comment 22•6 years ago
|
||
Assignee | ||
Comment 23•6 years ago
|
||
Comment 24•6 years ago
|
||
Comment 25•6 years ago
|
||
Comment 26•6 years ago
|
||
Comment 27•6 years ago
|
||
Comment 31•6 years ago
|
||
Comment 32•6 years ago
|
||
Comment 33•6 years ago
|
||
Comment 34•6 years ago
|
||
Comment 35•6 years ago
|
||
Comment 36•6 years ago
|
||
bugherder |
Comment 40•6 years ago
|
||
Assignee | ||
Comment 41•6 years ago
|
||
Comment 42•6 years ago
|
||
Comment 43•6 years ago
|
||
I've documented this. Since this is currently an early experiment, I've decided not to mention this on the <a> page, and instead just include an entry in the Experimental Features page:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features#Security
Let me know if you think that looks OK. Thanks!
Assignee | ||
Comment 44•6 years ago
|
||
I've documented this. Since this is currently an early experiment, I've decided not to mention this on the <a> page, and instead just include an entry in the Experimental Features page:
Bug 1522083 enables this feature by default in FF67.
Updated•6 years ago
|
Comment 45•6 years ago
|
||
We did run a mozregression because Bug 1344376 has been recently reported as regressed, and mozregression has identified this change as the potential source for that regression.
Can you please help us to see if this is the source of regression ?
Comment 46•6 years ago
|
||
It's quite possible, yes, since the load started happening in a different process. A simple way to test is to see whether a testcase like the one for bug 1344376 but using <a target="_blank" rel="noopener"> shows the following behavior:
- Fires onCreatedNavigationTarget right after bug 1344376 is fixed.
- Stops firing it once bug 1365032 is fixed.
- Fires it on current nightly (that is, including the fix for this bug) if the
"dom.noopener.newprocess.enabled" preference is set to false.
If that's the behavior, we should file a new bug to track firing onCreatedNavigationTarget as needed when doing a cross-process load, in "WebExtensions:Request Handling".
Comment 47•6 years ago
|
||
(In reply to Boris Zbarsky [:bzbarsky, bz on IRC] from comment #46)
It's quite possible, yes, since the load started happening in a different process. A simple way to test is to see whether a testcase like the one for bug 1344376 but using <a target="_blank" rel="noopener"> shows the following behavior:
- Fires onCreatedNavigationTarget right after bug 1344376 is fixed.
- Stops firing it once bug 1365032 is fixed.
- Fires it on current nightly (that is, including the fix for this bug) if the
"dom.noopener.newprocess.enabled" preference is set to false.
Thanks for the STR, I can confirm that this is the case (I just quickly tried by changing the existing testcase to use rel="noopener").
If that's the behavior, we should file a new bug to track firing onCreatedNavigationTarget as needed when doing a cross-process load, in "WebExtensions:Request Handling".
Definitely, I just filed it as Bug 1543647.
Updated•6 years ago
|
Description
•