WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
258479
Opener should not be set on navigations via window.open(..., "_self")
https://bugs.webkit.org/show_bug.cgi?id=258479
Summary
Opener should not be set on navigations via window.open(..., "_self")
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-06-23 13:13:49 PDT
<
rdar://problem/111231401
>
pascoe@apple.com
Comment 2
2023-06-23 13:15:33 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/15262
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug