Closed Bug 1785165 Opened 2 years ago Closed 2 years ago

Make new window by context menu of tile be target to inheritance of sponsored session

Categories

(Firefox :: New Tab Page, task)

task

Tracking

()

VERIFIED FIXED
105 Branch
Tracking Status
firefox105 --- verified

People

(Reporter: daisuke, Assigned: daisuke)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In bug 1784369, we supported new window to inherit sponsored session.
However, we forgot to support new window by context menu of tile in newtab.
In this bug, implement it.

Pushed by dakatsuka.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/01420503a289
Make new window by context menu of tile be target to inheritance of sponsored session. r=daleharvey

Backed out for causing node - newtab failures.

Push with failures

Failure log

Backout link

Flags: needinfo?(daisuke)
Flags: needinfo?(daisuke)
Pushed by dakatsuka.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a659ed26b71a
Make new window by context menu of tile be target to inheritance of sponsored session. r=daleharvey
Blocks: 1776605
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch

I have verified this issue on the latest Nightly 105.0a1 build (Build ID: 20220821185924) on Windows 10 x64, macOS 12.4 and Linux Mint 20.

  • The source has value "0" if the Sponsored tile is opened in a new window using the tile's menu.
Status: RESOLVED → VERIFIED

Comment on attachment 9290215 [details]
Bug 1785165: Make new window by context menu of tile be target to inheritance of sponsored session.

Beta/Release Uplift Approval Request

  • User impact if declined: When user opens a sponsored tile in a new window from its context menu, it is not handled correctly as sponsored link, the display priority does not change.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): The main changes are only two lines. And also, it affects for only opening a new window from the context menu that tile on about:home has.
  • String changes made/needed: no
  • Is Android affected?: No
Attachment #9290215 - Flags: approval-mozilla-beta?

Comment on attachment 9290215 [details]
Bug 1785165: Make new window by context menu of tile be target to inheritance of sponsored session.

This landed on m-c prior to the 105 uplift to Beta.

Attachment #9290215 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: