WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
185681
Cross-Origin-Options: deny/allow-postmessage should prevent getting navigated by cross-origin scripts
https://bugs.webkit.org/show_bug.cgi?id=185681
Summary
Cross-Origin-Options: deny/allow-postmessage should prevent getting navigated...
Chris Dumez
Reported
2018-05-16 09:45:04 PDT
Cross-Origin-Options: deny/allow-postmessage should prevent getting navigated by cross-origin scripts. My plan is to add a check for Cross-Origin-Options to our "allowed to navigate" logic [1]. [1]
https://html.spec.whatwg.org/#allowed-to-navigate
Attachments
Patch
(30.75 KB, patch)
2018-05-16 14:51 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(30.76 KB, patch)
2018-05-17 10:44 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2018-05-16 09:45:19 PDT
<
rdar://problem/40296313
>
Chris Dumez
Comment 2
2018-05-16 14:51:49 PDT
Created
attachment 340526
[details]
Patch
Geoffrey Garen
Comment 3
2018-05-17 10:21:33 PDT
Comment on
attachment 340526
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=340526&action=review
r=me
> Source/WebCore/ChangeLog:9 > + Update our canNavigation() implementation [1] to take into account the Cross-Origin-Options header.
canNavigate
> Source/WebCore/ChangeLog:15 > + possible to trigger a "targetted" navigation via <a target="foo"> or open(url, "foo").
targeted
Chris Dumez
Comment 4
2018-05-17 10:44:38 PDT
Created
attachment 340597
[details]
Patch
WebKit Commit Bot
Comment 5
2018-05-17 11:22:39 PDT
The commit-queue encountered the following flaky tests while processing
attachment 340597
[details]
: media/modern-media-controls/volume-support/volume-support-click.html
bug 164229
(author:
graouts@apple.com
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 6
2018-05-17 11:23:28 PDT
Comment on
attachment 340597
[details]
Patch Clearing flags on attachment: 340597 Committed
r231911
: <
https://trac.webkit.org/changeset/231911
>
WebKit Commit Bot
Comment 7
2018-05-17 11:23: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.
Top of Page
Format For Printing
XML
Clone This Bug