length property missing in /browser/extensions/pictureinpicture/video-wrappers/hotstar.js#15
Categories
(Toolkit :: Picture-in-Picture, defect, P3)
Tracking
()
People
(Reporter: kernp25, Assigned: kernp25, NeedInfo)
Details
Attachments
(1 file, 1 obsolete file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0
Expected results:
It seems the length property is missing here?
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Comment 3•8 months ago
|
||
Comment on attachment 9426370 [details]
Bug 1920315 - Fix subtitle support for dailymotion.com. r=#pip-reviewers
Revision D223069 was moved to bug 1920315. Setting attachment 9426370 [details] to obsolete.
Unlike Bug 1920309, I'm keeping this ticket as a defect.
kernp25 - I know your first patch was intended for dailymotion, but are you working on a patch for hotstar too? If not, I will unassign you from the bug.
(In reply to kernp25 from comment #0)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0
Expected results:
It seems the length property is missing here?
Good catch. We probably want to check for the NodeList's length here. In addition to this, there's no need for having container?
since the query is run if container
is not falsey in the first place.
(In reply to kernp25 from comment #1)
Also, this should just be
callback();
.
I think we can simplify to callback()
, yes, since we're not using a loop to find the node with text content.
Updated•7 months ago
|
Updated•5 months ago
|
Description
•