Closed Bug 1784840 Opened 2 years ago Closed 2 years ago

Convert Backgroundtasks_purgeHTTPCache.jsm to ESM

Categories

(Core :: Networking: Cache, task, P2)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: valentin, Assigned: saschanaz)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged] [esmification-timeline])

Attachments

(1 file)

./mach esmify should do most of the work

Snagging this one as a good first bug for some students that are starting with us from CalState in a few days.

Note that I'm working on a thing that will most possibly use this task. Hopefully I won't add any big change to the task itself but just saying.

If that's the case, let me release it then - I don't want the student onboarding to be on the critical path of anything.

No longer blocks: calstate

BackgroundTaskManager still uses ChromeUtils.import instead of importESModule since the latter does not expose the error code for NS_ERROR_FILE_NOT_FOUND case: https://searchfox.org/mozilla-central/rev/31368c7795f44b7a15531d6c5e52dc97f82cf2d5/js/xpconnect/loader/mozJSModuleLoader.cpp#1529-1534

Depends on D156941

Assignee: nobody → krosylight
Status: NEW → ASSIGNED
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9bc135513e52 Convert all background tasks to ESM r=nalexander,application-update-reviewers,necko-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch

== Change summary for alert #35710 (as of Thu, 20 Oct 2022 20:57:30 GMT) ==

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
14% tresize windows10-64-shippable-qr e10s fission stylo webrender-sw 7.08 -> 6.05
6% tsvgr_opacity windows10-64-shippable-qr e10s fission stylo webrender-sw 70.25 -> 65.92
6% tsvg_static windows10-64-shippable-qr e10s fission stylo webrender-sw 52.69 -> 49.46
4% tsvgr_opacity windows10-64-shippable-qr e10s fission stylo webrender-sw 68.58 -> 65.99

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=35710

I doubt this has anything to do with WebRender and SVG rendering, I think it should go to something in Graphics component. Any idea why the alert came here instead?

Flags: needinfo?(aglavic)
Whiteboard: [necko-triaged] → [necko-triaged] [esmification-timeline]
Flags: needinfo?(aglavic)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: