Closed Bug 1506261 Opened 7 years ago Closed 7 years ago

Convert search-one-offs from a custom element to a plain JS class and initialize it lazily

Categories

(Firefox :: Search, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 65
Tracking Status
firefox65 --- fixed

People

(Reporter: bgrins, Assigned: dao)

References

Details

(Keywords: perf)

Attachments

(1 file)

Right now we are doing work to create these nodes in DOMContentLoaded, but they aren't used until the popup is opened. See https://bugzilla.mozilla.org/show_bug.cgi?id=1506237#c1. There's also been discussion about making this a plain JS class instead of a Custom Element: https://bugzilla.mozilla.org/show_bug.cgi?id=1493536#c6. It might make sense to do that as part of this lazifying.
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Keywords: perf
Priority: -- → P2
Blocks: 1505814
Priority: P2 → P1
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/10a5af6d30df Convert search-one-offs from a custom element to a plain JS class and initialize it lazily. r=bgrins
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1106b713fd95 Convert search-one-offs from a custom element to a plain JS class and initialize it lazily. r=bgrins
Flags: needinfo?(dao+bmo)
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Blocks: 1492326
No longer blocks: 1505814
Summary: Make search-one-offs creation lazy → Convert search-one-offs from a custom element to a plain JS class and initialize it lazily
Blocks: 1508585
See Also: → 1508590
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: