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

See Also:

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
Comment 2 Simon Pieters (:zcorpan) 2017-03-21 02:54:05 PDT

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]
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]

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.