Add support for other Yahoo sites compatible with PiP Yahoo site-specific wrapper
Categories
(Toolkit :: Picture-in-Picture, enhancement)
Tracking
()
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.
Should the overrides be added in one PR or four different PRs (one for each site)?
(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.
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
Hello. I’m a new contributor, and I’ll be submitting a patch for this bug soon.
Assignee | ||
Comment 4•1 year ago
|
||
Assignee | ||
Comment 5•1 year ago
|
||
Hi Katherine, are there any tests I should run for this bug?
Assignee | ||
Comment 6•1 year ago
|
||
(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.
Comment 9•1 year ago
|
||
bugherder |
Comment 10•1 year ago
|
||
:kpatenio is this something you want to nominate for 127 release notes?
Reporter | ||
Comment 11•1 year ago
|
||
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.
Description
•