Redesign mLoadInfos handling in ScriptLoader
Categories
(Core :: DOM: Workers, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
References
Details
Attachments
(8 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Currently, pairs of indexes and references to mLoadInfos
elements are passed around, which is complex and error-prone. Essentially the index passing can be eliminated.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D81068
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D81069
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D81070
Assignee | ||
Comment 5•4 years ago
|
||
Depends on D81072
Assignee | ||
Comment 6•4 years ago
|
||
Depends on D81073
Assignee | ||
Comment 7•4 years ago
|
||
Depends on D81075
Updated•4 years ago
|
Assignee | ||
Comment 8•4 years ago
|
||
Depends on D81068
Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a1a0390cd1a1 Use nsTArrayView for ScriptLoaderRunnable::mLoadInfos. r=dom-workers-and-storage-reviewers,asuth
Comment 10•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 12•4 years ago
|
||
(In reply to Takanori MATSUURA from comment #11)
"leave-open" missing?
Yes, thanks! (I removed it again now since I am now landing the remaining patches. I somehow accidentally landed the first one separately yesterday).
Comment 13•4 years ago
|
||
Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/54bee02abda4 Improve variable naming and comments related to script scheduling. r=asuth,dom-workers-and-storage-reviewers https://hg.mozilla.org/integration/autoland/rev/a99208767bc1 Stop passing around indexes to mLoadInfos. r=dom-workers-and-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/d174dd6c2822 Use range-based for for iterating mLoadInfos. r=dom-workers-and-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/9ac5934bdea1 Pass Span instead of indexes to ScriptExecutorRunnable. r=dom-workers-and-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/ae9b646341ae Remove intermediate conversion from iterators to indexes. r=dom-workers-and-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/1ebae06069e7 Use TransformIntoNewArray in Load. r=dom-workers-and-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/e5b9c33679ef Use NotNull for CacheCreator::mLoaders. r=dom-workers-and-storage-reviewers,asuth
Updated•4 years ago
|
Comment 14•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/54bee02abda4
https://hg.mozilla.org/mozilla-central/rev/a99208767bc1
https://hg.mozilla.org/mozilla-central/rev/d174dd6c2822
https://hg.mozilla.org/mozilla-central/rev/9ac5934bdea1
https://hg.mozilla.org/mozilla-central/rev/ae9b646341ae
https://hg.mozilla.org/mozilla-central/rev/1ebae06069e7
https://hg.mozilla.org/mozilla-central/rev/e5b9c33679ef
Description
•