Closed Bug 1257898 Opened 8 years ago Closed 8 years ago

stop importing Webapps.jsm in nsBrowserGlue.js

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1261019

People

(Reporter: myk, Unassigned)

References

Details

Attachments

(1 file)

Bug 1256667 claws back a ts_paint regression from bug 1238079 (removal of the desktop web runtime) by making nsBrowserGlue.js import Webapps.jsm.

But Firefox code shouldn't have to import Webapps.jsm at all now that the desktop web runtime has been removed and the mozApps API has been disabled on desktop (bug 1238576).

So we should figure out the underlying reason why doing more work takes less time here, and resolve that issue, after which we should stop importing Webapps.jsm in nsBrowserGlue.js.
A quick tentative to check if it breaks anything: https://treeherder.mozilla.org/#/jobs?repo=try&revision=9c485573795d
Note that bug 1261019 is removing this code.
Depends on: 1261019
Yep, this was landed in that bug.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: