Closed Bug 1499139 Opened 7 years ago Closed 7 years ago

Stop lazy requiring the FlexboxInspector and GridInspector in LayoutView

Categories

(DevTools :: Inspector, enhancement, P2)

enhancement

Tracking

(firefox64 fixed)

RESOLVED FIXED
Firefox 64
Tracking Status
firefox64 --- fixed

People

(Reporter: gl, Assigned: gl)

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
Summary: Stop lazy requiring → Stop lazy requiring the FlexboxInspector and GridInspector in LayoutView
loader.lazyRequireGetter actually has a 3% downside if a module/library is actually required as part of the critical code path (ie, the module is actually required on startup instead of on demand). We should remove the lazyRequireGetter for the FlexboxInspector and GridInspector since they are both used immediately in the init() of layout.js (part of the critical code path) and layout.js is already lazily required.
Assignee: nobody → gl
Status: NEW → ASSIGNED
I saw a 9ms decrease in loading layout.js.
Attachment #9017253 - Flags: review?(mtigley)
Attachment #9017253 - Flags: review?(mtigley) → review+
Pushed by gabriel.luong@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/f7339d6aa94f Stop lazy requiring the FlexboxInspector and GridInspector in LayoutView. r=mtigley
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
https://hg.mozilla.org/projects/larch/rev/f7339d6aa94f5f9442d47aebab625a4fe3ef0f4e Bug 1499139 - Stop lazy requiring the FlexboxInspector and GridInspector in LayoutView. r=mtigley
Adds a nsContentUtils method to check for pdf mime types, ignoring parameters that may be included with the type.
Attachment #9022347 - Attachment is obsolete: true
Comment on attachment 9022347 [details] Bug 1499139 - Canonicalize pdf mime type testing; Accidental addition of patch for bug 1499169 to wrong bug. Obsoleting.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: