[webkit-changes] [WebKit/WebKit] d1c532: SharedWorker referrer policy should default to its...
youennf
noreply at github.com
Tue Aug 29 08:32:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d1c532b691d6db1eadb2cf717c22e25e943b0506
https://github.com/WebKit/WebKit/commit/d1c532b691d6db1eadb2cf717c22e25e943b0506
Author: Youenn Fablet <youennf at gmail.com>
Date: 2023-08-29 (Tue, 29 Aug 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/workers/modules/shared-worker-import-referrer-expected.txt
M Source/WebCore/workers/shared/SharedWorkerScriptLoader.cpp
Log Message:
-----------
SharedWorker referrer policy should default to its context referrer policy if none is provided in its script http response
https://bugs.webkit.org/show_bug.cgi?id=260858
rdar://114625126
Reviewed by Chris Dumez.
As per https://github.com/w3c/webappsec-referrer-policy, we should default to the context initiating the first load as of referrer policy.
Implement this for SharedWorker in SharedWorkerScriptLoader.
* LayoutTests/imported/w3c/web-platform-tests/workers/modules/shared-worker-import-referrer-expected.txt:
* Source/WebCore/workers/shared/SharedWorkerScriptLoader.cpp:
(WebCore::SharedWorkerScriptLoader::notifyFinished):
Canonical link: https://commits.webkit.org/267405@main
More information about the webkit-changes
mailing list