Simplify spotlight.js and related code
Categories
(Firefox :: Messaging System, task, P1)
Tracking
()
People
(Reporter: hanna_a, Assigned: mviar)
References
Details
Attachments
(1 obsolete file)
Now that we've removed the legacy spotlight surface (See https://bugzilla.mozilla.org/show_bug.cgi?id=1768730), we can simplify spotlight.js and related files. We can remove some conditionally set variables such as https://searchfox.org/mozilla-central/source/browser/base/content/spotlight.js#156
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
(In reply to hanna A from comment #0)
Now that we've removed the legacy spotlight surface (See https://bugzilla.mozilla.org/show_bug.cgi?id=1768730), we can simplify spotlight.js and related files. We can remove some conditionally set variables such as https://searchfox.org/mozilla-central/source/browser/base/content/spotlight.js#156
Is the link to the conditionally set variable example above still correct?
Comment 2•2 years ago
|
||
I think they were referring to these lines (with permalink/fixed revision url):
https://searchfox.org/mozilla-central/rev/cf3af6bb6657278880f8baf38435eeb8f2d5d86c/browser/base/content/spotlight.js#144-152
The original patch comment was here https://phabricator.services.mozilla.com/D165254#inline-916531
Assignee | ||
Comment 3•2 years ago
|
||
Assignee | ||
Comment 4•2 years ago
|
||
Thanks :mardak. I'm still unclear on how those lines are affected by the removal of the legacy spotlight.
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
Closing this bug after discussion with :halamu. Some refinements included in the draft patch may be rolled into bug 1768730.
Updated•2 years ago
|
Description
•