Closed Bug 1916424 Opened 6 months ago Closed 4 days ago

Support idle tasks in category manager JS invocations, to start using it from BrowserGlue

Categories

(Firefox :: General, task, P3)

Desktop
All
task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 2 open bugs)

Details

Attachments

(3 files)

All the .init and uninit calls in BrowserGlue are a little sad, and could easily be switched to use the category manager, so let's try and make that happen.

The Bugbug bot thinks this bug should belong to the 'Core::JavaScript Engine' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → JavaScript Engine
Product: Firefox → Core
Severity: -- → N/A
Component: JavaScript Engine → General
Priority: -- → P3
Product: Core → Firefox
Blocks: 1916469
Keywords: leave-open
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/ad04587bad59 allow idle dispatch from BrowserUtils' category manager-based invocations, r=mossop,search-reviewers,urlbar-reviewers
Keywords: leave-open
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b4b2ef6e086b use category manager for idle startup tasks from BrowserGlue, r=firefox-desktop-core-reviewers ,mossop https://hg.mozilla.org/integration/autoland/rev/8e0862096be2 use category manager for quit-application-granted consumers from BrowserGlue, r=firefox-desktop-core-reviewers ,mossop

Backed out for causing leaks @ Alloc, JSString::OwnedChars

TEST-UNEXPECTED-FAIL | LeakSanitizer leak at Alloc, JSString::OwnedChars, js::NewAtomCopyNDontDeflateValidLength, NewAtomNonStaticValidLength | browser/components/search/test/browser/telemetry/browser.toml
Flags: needinfo?(gijskruitbosch+bugs)
Blocks: 1949294
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/44085a6af3dd use category manager for idle startup tasks from BrowserGlue, r=firefox-desktop-core-reviewers ,mossop https://hg.mozilla.org/integration/autoland/rev/47360b5eb434 use category manager for quit-application-granted consumers from BrowserGlue, r=firefox-desktop-core-reviewers ,mossop
Status: ASSIGNED → RESOLVED
Closed: 4 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: