-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window.open should be able to open a popup with the same domain as an existing site-isolated iframe #20088
Merged
webkit-commit-queue
merged 1 commit into
WebKit:main
from
achristensen07:eng/window-open-should-be-able-to-open-a-popup-with-the-same-domain-as-an-existing-site-isolated-iframe
Nov 8, 2023
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EWS run on previous version of this PR (hash 60f9034) |
60f9034
to
31a5f52
Compare
EWS run on previous version of this PR (hash 31a5f52) |
pascoej
approved these changes
Nov 7, 2023
31a5f52
to
786bc4f
Compare
EWS run on current version of this PR (hash 786bc4f) |
β¦ existing site-isolated iframe https://bugs.webkit.org/show_bug.cgi?id=264323 rdar://118015550 Reviewed by Pascoe. If we already have a RemotePageProxy communicating with a WebPage in the right process, use it instead of making a new one and getting confused about which one to use. If we do this, we need to grant that process cookie access because it may have a new first party. In addition, WebFrame::documentLoaderDetached was sending WebPageProxy::DidDestroyNavigation which was destroying the navigation while it was continuing in another process, which caused assertions. To fix this, don't send this message if the load is continuing in another process. * LayoutTests/http/tests/site-isolation/iframe-and-window-open-expected.txt: Added. * LayoutTests/http/tests/site-isolation/iframe-and-window-open.html: Added. * LayoutTests/http/tests/site-isolation/resources/post-message-to-opener.html: Added. * Source/WebKit/UIProcess/ProvisionalPageProxy.cpp: (WebKit::ProvisionalPageProxy::initializeWebPage): * Source/WebKit/UIProcess/ProvisionalPageProxy.h: (WebKit::ProvisionalPageProxy::needsCookieAccessAddedInNetworkProcess const): * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::continueNavigationInNewProcess): Canonical link: https://commits.webkit.org/270368@main
786bc4f
to
8a0ed5b
Compare
Committed 270368@main (8a0ed5b): https://commits.webkit.org/270368@main Reviewed commits have been landed. Closing PR #20088 and removing active labels. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
8a0ed5b
786bc4f
π§ͺ wpe-wk2