Closed Bug 1825105 Opened 2 years ago Closed 1 year ago

Add support for other Yahoo sites compatible with PiP Yahoo site-specific wrapper

Categories

(Toolkit :: Picture-in-Picture, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: kpatenio, Assigned: joe.scott.webster)

References

Details

(Keywords: good-first-bug)

Attachments

(2 files)

It seems that various other Yahoo sites use the same video player as Yahoo Finance, and therefore can be supported by our existing Yahoo wrapper.

Example sites:

Adding them to our overrides will ensure that captions appear on the PiP window for these sites.

Severity: -- → N/A
Type: defect → enhancement
Keywords: good-first-bug

Should the overrides be added in one PR or four different PRs (one for each site)?

Flags: needinfo?(kpatenio)

(In reply to Simar from comment #1)

Should the overrides be added in one PR or four different PRs (one for each site)?

Hi Simar, the overrides can be added in one PR. Actually, it would be easier to create overrides for all four sites under a single yahoo entry in the overrides file by renaming yahoofinance to yahoo and then adding the appropriate URLs as keys.

Flags: needinfo?(kpatenio)
Assignee: nobody → joe.scott.webster

Hello. I’m a new contributor, and I’ll be submitting a patch for this bug soon.

Hi Katherine, are there any tests I should run for this bug?

Flags: needinfo?(kpatenio)
Depends on: 1890807

(In reply to Joseph Webster from comment #5)

Hi Katherine, are there any tests I should run for this bug?

Hi Joseph, apologies for the delay here. Cross-posting my response from Phabricator:

We don't really have tests for wrappers, so the only way you can verify the change is by going to the sites listed in the bug description with your development build of Firefox and see if video captions appear on the PiP window. If you'd still like to run all our Picture-in-Picture tests anyways, you can use the command ./mach test toolkit/components/pictureinpicture/tests.

I hope that helps. Please reach out if you have any more questions about the bug.

Flags: needinfo?(kpatenio)
Pushed by scunnane@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6e5ab0de0a58 Add support for other Yahoo sites compatible with PiP Yahoo site-specific wrapper. r=pip-reviewers,niklas
Blocks: 1891599
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch

:kpatenio is this something you want to nominate for 127 release notes?

Flags: needinfo?(kpatenio)

Because of the current nature of PiP site-specific wrappers, there's a likelihood that any of the Yahoo sites will update by 127 and risk breaking this bug fix. To be safe, I'd say no, let's not nominate it for release notes.

Flags: needinfo?(kpatenio)
Duplicate of this bug: 1890807
No longer depends on: 1890807
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: