Closed Bug 1948887 Opened 1 year ago Closed 1 year ago

Allow parsing sheets with SRI metadata off the main thread.

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

No description provided.

Use the referrer spec as the URI for warnings (which is the only thing
that's used for).

Flush reports when back on the main thread.

This is needed to avoid sending two SRI warnings for each resource, now
that we do it off the main thread.

Make error reporting the only thing that cause us to fall back to main
thread parsing, and do that eagerly.

Handle the SheetComplete call, if needed, in OnStopRequest, when back on
the main thread.

Depends on: 1948889
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ebc6b2685ede Allow parsing sheets with SRI metadata off the main thread. r=dshin https://hg.mozilla.org/integration/autoland/rev/e197bee20eea Simplify handling of OnDataAvailable. r=dshin
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Regressions: 1958293
Duplicate of this bug: 1915075
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: