Tidy up the script load request's progress enum
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox100 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(4 files)
There's a couple of oddities about the way this works. There's a separate 'cancelled' boolean that really should be part of this state. Also it includes a state for when we're requesting source only (rather than bytecode) that would be better handled by a separate flag.
| Assignee | ||
Comment 1•4 years ago
|
||
This also renames 'loading' enum values to 'fetching' since this is more
specific. Loading covers the whole process of loading, which includes the other
states.
Enum values have the leading 'e' removed in line with the coding style for enum
classes.
| Assignee | ||
Comment 2•4 years ago
|
||
This is used when we explicitly don't want to load cached bytecode. It is
better served by a separate flag in the request than a state.
Depends on D142041
| Assignee | ||
Comment 3•4 years ago
|
||
Previously a separate field, this makes more sense as a state in its own right.
Depends on D142042
| Assignee | ||
Comment 4•4 years ago
|
||
Depends on D142043
Comment 6•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1c5d8b97d832
https://hg.mozilla.org/mozilla-central/rev/20b003843eef
https://hg.mozilla.org/mozilla-central/rev/d5a5bb17fea9
https://hg.mozilla.org/mozilla-central/rev/0ea212923238
Description
•