Skip to content
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

SharedWorker referrer policy should default to its context referrer policy if none is provided in its script http response #17183

Commits on Aug 29, 2023

  1. SharedWorker referrer policy should default to its context referrer p…

    …olicy 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
    youennf committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    d1c532b View commit details
    Browse the repository at this point in the history