Open Bug 1353964 Opened 3 years ago Updated 3 years ago

stylo: Figure out whether we can replace mSheetURI, mBaseURI, and mPrincipal in StyleSheetInfo with a URLExtraData

Categories

(Core :: CSS Parsing and Computation, enhancement, P4)

53 Branch
enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix

People

(Reporter: xidorn, Unassigned)

References

Details

In bug 1343964, we add a RefPtr<URLExtraData> to ServoStyleSheetInner, however, the information inside is likely a duplicate of mSheetURI, mBaseURI, and mPrincipal in StyleSheetInfo, so we may want to replace the latter with the former somehow.

It is probably non-trivial because URLExtraData is immutable, while the URIs of style sheet can change in different places, while we don't want to change principal after it being set the first time.
Assuming we can ship without this - let me know if we can't.
Priority: -- → P4
status-firefox57=wontfix unless someone thinks this bug should block 57
Summary: stylo: Figure out whether we can mSheetURI, mBaseURI, and mPrincipal in StyleSheetInfo with a URLExtraData → stylo: Figure out whether we can replace mSheetURI, mBaseURI, and mPrincipal in StyleSheetInfo with a URLExtraData
You need to log in before you can comment on or make changes to this bug.