Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 09d247d939321de347298e1d0147bf28e69f9e4d
https://github.com/WebKit/WebKit/commit/09d247d939321de347298e1d0147bf28e69f9e4d
Author: Charlie Wolfe <[email protected]>
Date: 2022-10-17 (Mon, 17 Oct 2022)
Changed paths:
A
LayoutTests/http/tests/resourceLoadStatistics/omit-document-referrer-nested-third-party-iframe-ephemeral-expected.txt
A
LayoutTests/http/tests/resourceLoadStatistics/omit-document-referrer-nested-third-party-iframe-ephemeral.html
A
LayoutTests/http/tests/resourceLoadStatistics/omit-document-referrer-third-party-iframe-ephemeral-expected.txt
A
LayoutTests/http/tests/resourceLoadStatistics/omit-document-referrer-third-party-iframe-ephemeral.html
A
LayoutTests/http/tests/resourceLoadStatistics/omit-referrer-for-navigation-ephemeral-expected.txt
A
LayoutTests/http/tests/resourceLoadStatistics/omit-referrer-for-navigation-ephemeral.html
M Source/WebCore/dom/Document+HTML.idl
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
Log Message:
-----------
Omit document.referrer for third-party requests while in ephemeral mode
https://bugs.webkit.org/show_bug.cgi?id=244518
<rdar://99578273>
For third-party requests, omit document.referrer when accessed from JavaScript
bindings while in ephemeral mode.
Reviewed by Darin Adler.
*
LayoutTests/http/tests/resourceLoadStatistics/omit-document-referrer-nested-third-party-iframe-ephemeral-expected.txt:
Added.
*
LayoutTests/http/tests/resourceLoadStatistics/omit-document-referrer-nested-third-party-iframe-ephemeral.html:
Added.
*
LayoutTests/http/tests/resourceLoadStatistics/omit-document-referrer-third-party-iframe-ephemeral-expected.txt:
Added.
*
LayoutTests/http/tests/resourceLoadStatistics/omit-document-referrer-third-party-iframe-ephemeral.html:
Added.
*
LayoutTests/http/tests/resourceLoadStatistics/omit-referrer-for-navigation-ephemeral-expected.txt:
Added.
*
LayoutTests/http/tests/resourceLoadStatistics/omit-referrer-for-navigation-ephemeral.html:
Added.
* Source/WebCore/dom/Document+HTML.idl:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::referrerForBindings):
* Source/WebCore/dom/Document.h:
Canonical link: https://commits.webkit.org/255649@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes