Skip to content

test(sri): load cross-origin protocol-relative fixture from cdn.mozilla.org - #677

Draft
caugner wants to merge 1 commit into
464-split-sri-testsfrom
464-sri-cdn-subdomain-fixture
Draft

caugner wants to merge 1 commit into
464-split-sri-testsfrom
464-sri-cdn-subdomain-fixture

Conversation

@caugner

@caugner caugner commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Description

Update the cross-origin protocol-relative SRI fixture to load its script from //cdn.mozilla.org instead of //www.mozilla.org.

Motivation

Ensure the fixture stays cross-origin regardless of the HTTP redirect scenario. The test HTTP redirect chain ends on https://www.mozilla.org/, so a www.mozilla.org script is only cross-origin because the session records no redirect.

Additional details

This matches the explicit-scheme subdomain fixture, which already uses cdn.mozilla.org.

Related issues and pull requests

Depends on:

…lla.org`

The test HTTP redirect chain ends on `www.mozilla.org`, so a `www.mozilla.org` script is only cross-origin because the session records no redirect. A host outside the redirect chain keeps the case cross-origin in every HTTP scenario, matching the explicit-scheme subdomain fixture.
@caugner
caugner added this pull request to stack #642 November 24, 2026 17:39

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant