Closed
Bug 1793414
Opened 4 years ago
Closed 4 years ago
MozSearchbar calls into BrowserSearch where it doesn't need to
Categories
(Firefox :: Search, task, P3)
Firefox
Search
Tracking
()
RESOLVED
FIXED
107 Branch
| Tracking | Status | |
|---|---|---|
| firefox107 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
Details
Attachments
(2 files)
Currently there are various places where MozSearchbar calls to BrowserSearch to either get itself, or to call a function which would be simpler to host in MozSearchBar to itself.
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
Also moves modules to be loaded lazily to avoid unnecessarily loading them on startup.
Depends on D158499
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1f011637d116
Move paste and search handling for the search bar into the search bar code itself. r=jteow
https://hg.mozilla.org/integration/autoland/rev/f27b2a93224e
Remove MozSearchbar reliance on BrowserSearch where possible. r=jteow
Comment 4•4 years ago
|
||
Backed out for causing browser-chrome failures in browser/components/search/test/browser/browser_searchbar_context.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/83c0895d0f34788ad8271141e06b00ebdb0b9188
INFO - TEST-PASS | browser/components/search/test/browser/browser_searchbar_context.js | Clipboard has the given value: 'test' -
[task 2022-10-06T08:40:40.695Z] 08:40:40 INFO - Buffered messages finished
[task 2022-10-06T08:40:40.697Z] 08:40:40 INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_context.js | Should have loaded the expected search page. - "about:newtab" == "https://example.com/?q=test" - JS frame :: chrome://mochitests/content/browser/browser/components/search/test/browser/browser_searchbar_context.js :: test_paste_and_go :: line 241
[task 2022-10-06T08:40:40.697Z] 08:40:40 INFO - Stack trace:
Flags: needinfo?(standard8)
| Assignee | ||
Updated•4 years ago
|
Flags: needinfo?(standard8)
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bfa39e3eef0a
Move paste and search handling for the search bar into the search bar code itself. r=jteow
https://hg.mozilla.org/integration/autoland/rev/935f4758b5e6
Remove MozSearchbar reliance on BrowserSearch where possible. r=jteow
Comment 6•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/bfa39e3eef0a
https://hg.mozilla.org/mozilla-central/rev/935f4758b5e6
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox107:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•