Bug 163960 - Implement the "noopener" feature for window.open()
Summary: Implement the "noopener" feature for window.open()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-10-25 11:50 PDT by Andy Estes
Modified: 2017-03-22 09:15 PDT (History)
8 users (show)

See Also:


Attachments
Patch (34.67 KB, patch)
2017-03-21 12:23 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Reuploading patch for ews (34.67 KB, patch)
2017-03-21 13:28 PDT, Aakash Jain
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Estes 2016-10-25 11:50:38 PDT
Step 9.1 of https://html.spec.whatwg.org/#dom-open says:

    If the result of splitting features on commas contains the token "noopener", then disown target browsing context's opener and return null.

We should implement this feature to compliment our support for rel=noopener on a and area elements.
Comment 1 Radar WebKit Bug Importer 2016-10-25 11:51:47 PDT
<rdar://problem/28941679>
Comment 2 Simon Pieters (:zcorpan) 2017-03-21 02:54:05 PDT
web-platform-tests:
html/browsers/windows/auxiliary-browsing-contexts/opener-noopener.html

added in https://github.com/w3c/web-platform-tests/pull/5131
Comment 3 Chris Dumez 2017-03-21 12:23:26 PDT
Created attachment 305008 [details]
Patch
Comment 4 Aakash Jain 2017-03-21 13:28:08 PDT
Created attachment 305019 [details]
Reuploading patch for ews
Comment 5 Chris Dumez 2017-03-22 09:15:25 PDT
Comment on attachment 305008 [details]
Patch

Clearing flags on attachment: 305008

Committed r214251: <http://trac.webkit.org/changeset/214251>
Comment 6 Chris Dumez 2017-03-22 09:15:30 PDT
All reviewed patches have been landed.  Closing bug.