Closed Bug 1805589 Opened 1 year ago Closed 1 year ago

Pocket newtab topsites add Discovery Stream topsites to topsite list earlier

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: thecount, Assigned: thecount)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This should fix a handful of bugs and edge cases.

Similar solution to bug 1804511 but less involved change.

Attachment #9308161 - Attachment description: WIP: Bug 1805589 - Pocket newtab add Discovery Stream topsites to topsites list earlier. → Bug 1805589 - Pocket newtab add Discovery Stream topsites to topsites list earlier.
Assignee: nobody → sdowne
Status: NEW → ASSIGNED
Pushed by sdowne@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/51080108cc0d
Pocket newtab add Discovery Stream topsites to topsites list earlier. r=nanj

Backed out for causing mochitests failures in browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js | Should be no non-startup actions. - 1 == 0 - {"filename":"chrome://mochitests/content/browser/browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js","name":"test_no_startup_actions/<","sourceId":633,"lineNumber":67,"columnNumber":12,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formatte
Flags: needinfo?(sdowne)

This failed because a TOP_SITES_UPDATED was observed firing, and that action doesn't have the isStartup meta property.

Thanks, that's it. I think I got it, pushing up a fix.

You saved me a lot of debugging time :D

Flags: needinfo?(sdowne)
Pushed by sdowne@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/08d5509f937d
Pocket newtab add Discovery Stream topsites to topsites list earlier.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: