Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add support for
Clear-Site-Data: "executionContext"
https://bugs.webkit.org/show_bug.cgi?id=251821 Reviewed by Geoffrey Garen. Add support for `Clear-Site-Data: "executionContext"`: - https://w3c.github.io/webappsec-clear-site-data/#grammardef-executioncontexts * LayoutTests/TestExpectations: Unskip WPT test that is now passing. * LayoutTests/imported/w3c/web-platform-tests/clear-site-data/executionContexts.sub-expected.txt: Rebaseline WPT test that is now passing. * LayoutTests/imported/w3c/web-platform-tests/clear-site-data/executionContexts.sub.html: Fix WPT test to work with the WebKit test infrastructure (will make an upstream PR). * Source/WebCore/page/FrameTree.cpp: (WebCore::FrameTree::traverseNextSkippingChildren const): (WebCore::FrameTree::nextAncestorSibling const): * Source/WebCore/page/FrameTree.h: * Source/WebCore/page/Page.cpp: (WebCore::Page::reloadExecutionContextsForOrigin const): * Source/WebCore/page/Page.h: (WebCore::Page::overrideViewportArguments const): * Source/WebCore/platform/network/HTTPParsers.cpp: (WebCore::parseClearSiteDataHeader): * Source/WebCore/platform/network/HTTPParsers.h: * Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp: (WebKit::NetworkResourceLoader::processClearSiteDataHeader): * Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp: (WebKit::NetworkProcessProxy::reloadExecutionContextsForOrigin): * Source/WebKit/UIProcess/Network/NetworkProcessProxy.h: * Source/WebKit/UIProcess/Network/NetworkProcessProxy.messages.in: * Source/WebKit/WebProcess/WebProcess.cpp: (WebKit::WebProcess::reloadExecutionContextsForOrigin): * Source/WebKit/WebProcess/WebProcess.h: * Source/WebKit/WebProcess/WebProcess.messages.in: Canonical link: https://commits.webkit.org/259940@main
- Loading branch information
Showing
16 changed files
with
98 additions
and
14 deletions.
There are no files selected for viewing
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
7 changes: 2 additions & 5 deletions
7
...tTests/imported/w3c/web-platform-tests/clear-site-data/executionContexts.sub-expected.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
Blocked access to external URL https://www2.localhost:9443/clear-site-data/support/iframe_executionContexts.html | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT executionContexts triggers the reload of contexts Test timed out | ||
NOTRUN * triggers the reload of contexts | ||
PASS executionContexts triggers the reload of contexts | ||
PASS * triggers the reload of contexts | ||
|
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
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
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
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
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
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
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
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
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
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
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
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
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
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
35591d2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
executionContexts
is misspelled asexecutionContext
in the commit title, at the top of the commit summary, and in the title of https://bugs.webkit.org/show_bug.cgi?id=251821