Bug 258479

Summary: Opener should not be set on navigations via window.open(..., "_self")
Product: WebKit Reporter: pascoe <pascoe>
Component: WebCore Misc.Assignee: pascoe <pascoe>
Status: RESOLVED WONTFIX    
Severity: Normal CC: karlcow, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

pascoe@apple.com
Reported 2023-06-23 13:13:13 PDT
We currently don't implement the HTML spec with respect to setting the opener exactly. According to the spec, whenever name is "_self" we do not create a new top level traversable, which means we do not follow step 8.8 which creates a new top-level traversable with an opener. Whenever the currentNavigable is selected in step 4, there is no step to set an opener. In practice, both Blink and Gecko do not set opener on window.open(..., "_self").
Attachments
Radar WebKit Bug Importer
Comment 1 2023-06-23 13:13:49 PDT
pascoe@apple.com
Comment 2 2023-06-23 13:15:33 PDT
Note You need to log in before you can comment on or make changes to this bug.