Closed Bug 1763372 Opened 2 months ago Closed 1 month ago

Create a LoadContext base class to be used by DOM/Worker

Categories

(Core :: DOM: Core & HTML, task, P3)

All
Unspecified
task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: yulia, Assigned: yulia)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Currently, there is one LoadContext: ScriptLoadContext for the dom. The Context object is a way to convey load environment specific data unique to a given request. In the DOM, this includes the Element, Preloader, and metadata about how it is being loaded (Async, Deferred, etc). For the worker, we have a similar need to carry a CachePromise. We may have similar needs in other contexts.

Pushed by ystartsev@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7be9cc10e60a
Add LoadContextBase; r=jonco,smaug
https://hg.mozilla.org/integration/autoland/rev/05aa3e73e527
address new issues in the hybrid build; r=jonco
https://hg.mozilla.org/integration/autoland/rev/788e7b67a4a6
Rename GetLoadContext to GetScriptLoadContext; r=jonco
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.