Open Bug 2082780 Opened 1 month ago

Import NewTabPagePreloading in the tests that use it as a browser window global, and stop defining it on the window

Categories

(Firefox :: Tabbed Browser, task)

task

Tracking

()

People

(Reporter: dao, Unassigned)

References

(Blocks 1 open bug)

Details

Once bug 2082766 lands, no browser window code outside browser.js uses NewTabPagePreloading, but about twenty browser-chrome tests still use it as a bare global, and one extension test reads window.NewTabPagePreloading. Importing it in those tests lets browser.js drop its lazy getter.

You need to log in before you can comment on or make changes to this bug.