Bug 163960

Summary: Implement the "noopener" feature for window.open()
Product: WebKit Reporter: Andy Estes <aestes>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, achristensen, cdumez, darin, rniwa, sam, webkit-bug-importer, zcorpan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=155166
Attachments:
Description Flags
Patch
none
Reuploading patch for ews none

Andy Estes
Reported 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.
Attachments
Patch (34.67 KB, patch)
2017-03-21 12:23 PDT, Chris Dumez
no flags
Reuploading patch for ews (34.67 KB, patch)
2017-03-21 13:28 PDT, Aakash Jain
no flags
Radar WebKit Bug Importer
Comment 1 2016-10-25 11:51:47 PDT
Simon Pieters (:zcorpan)
Comment 2 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
Chris Dumez
Comment 3 2017-03-21 12:23:26 PDT
Aakash Jain
Comment 4 2017-03-21 13:28:08 PDT
Created attachment 305019 [details] Reuploading patch for ews
Chris Dumez
Comment 5 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>
Chris Dumez
Comment 6 2017-03-22 09:15:30 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.