-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass along correct referrers when fetching scripts
Fixes #1111, although the problem was more widespread than indicated there. Previously, *only* classic workers had their referrer set correctly. This updates the algorithms to: - Pass the document's address as the referrer for <script>-initiated fetches (both classic and module) - Pass the document's address as the referrer for worker-creation fetches (both classic and module) - Pass the importing module's address as the referrer for import-initiated module script fetches
- Loading branch information
Showing
1 changed file
with
41 additions
and
34 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