Files
tubestation/browser/components/newtab
Mike Conley 00cb737310 Bug 1953005 - Have AboutNewTabRedirector wait for resource-mapping init rather than addon init to resume channels. r=willdurand,home-newtab-reviewers,amy
Waiting until the addon database is ready and the addonReady promise resolves
can take far, far too long, and cause regressions in our Talos tests. What
we really care about waiting for is resource-mapping.js having finished its
job to map resource://newtab and chrome://newtab URIs to the right places.

So we just have resource-mapping.js directly inform AboutNewTabRedirector
when that has occurred.

Differential Revision: https://phabricator.services.mozilla.com/D240939
2025-03-11 19:34:44 +00:00
..