Closed
Bug 1915774
Opened 1 year ago
Closed 1 year ago
Stop using setFaviconForPage of head_common.js
Categories
(Toolkit :: Places, task, P3)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
138 Branch
| Tracking | Status | |
|---|---|---|
| firefox138 | --- | fixed |
People
(Reporter: daisuke, Assigned: daisuke)
References
Details
(Whiteboard: [favicons-2024][sng])
Attachments
(2 files)
Many tests are using setFaviconForPage of head_common.js. But, as we stop using nsIFaviconService.setAndFetchFaviconForPage() in bug 1894633, the function came to simulate old behavior of setAndFetchFaviconForPage. As it hides API logic, we stop using this function, and then will do the old behavior in each tests.
Comment 1•1 year ago
|
||
The main concern here is many tests don't need to fetch from the database, and even less from the network.
So each test should just do what they effectively need.
Whiteboard: [favicons-2024][sng]
Updated•1 year ago
|
Updated•1 year ago
|
Severity: -- → N/A
Priority: -- → P3
| Assignee | ||
Comment 2•1 year ago
|
||
Depends on D241764
| Assignee | ||
Comment 3•1 year ago
|
||
Depends on D241887
Updated•1 year ago
|
Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Pushed by dakatsuka.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/005ebb0e2753
Remove setFaviconForPage() in head_common r=places-reviewers,mak
https://hg.mozilla.org/integration/autoland/rev/c2623d0fa807
Use PlacesTestUtils.setFaviconForPage() helper in places test r=places-reviewers,mak
Comment 5•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/005ebb0e2753
https://hg.mozilla.org/mozilla-central/rev/c2623d0fa807
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox138:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•