Files
sousa-gecko/testing/web-platform/meta/css/cssom/stylesheet-same-origin.sub.html.ini
T
Emilio Cobos Álvarez f7c56c1d09 Bug 1995282 - Clean up URLExtraData storage in stylesheets. r=smaug
Make SetURIs be the source of truth for referrer info and principal too.
This allows us to remove redundant members.

Pull the URI and such out of StyleSheetInfo, since we are sharing
StyleSheetInfo across stylesheets with different base URIs and such now
(for inline stylesheets), and we need to keep track of the "right" base
URI for when we eventually clone them.

There's one part of the change here which is a bit scary, which is the
principal shenanigans. However I don't think it's problematic since we
already are using the URLExtraData for CSS parsing and subresource
loads, which doesn't have that mutation. In particular, we only use
StyleSheet::Principal from Loader::LoadChildSheet. So we can implement
what the spec actually says (an origin-clean flag).

Differential Revision: https://phabricator.services.mozilla.com/D269210
2025-10-22 11:21:38 +00:00

4 lines
111 B
INI

[stylesheet-same-origin.sub.html]
[Origin-clean check in loading error CSSOM Stylesheets]
expected: FAIL