Closed Bug 1771650 Opened 2 years ago Closed 2 years ago

bdi tag closed twice in toolkit/content/widgets/videocontrols.js

Categories

(Toolkit :: Video/Audio Controls, defect, P1)

Unspecified
All
defect

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox101 --- wontfix
firefox102 --- fixed
firefox103 --- fixed

People

(Reporter: nickdev44, Assigned: mathew.hodson)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:

Do not know if this has any effect, but noticed it reading trough the source code.

The bdi tag has a, from the looks of it, a stray closing bracket.

https://hg.mozilla.org/mozilla-central/file/e881fd99de24fa48159390544dac07f373931d1c/toolkit/content/widgets/videocontrols.js#l2847

Actual results:

<bdi class="statusLabel" id="errorGeneric"> data-l10n-id="videocontrols-error-generic"></bdi>

Expected results:

<bdi class="statusLabel" id="errorGeneric" data-l10n-id="videocontrols-error-generic"></bdi>

The Bugbug bot thinks this bug should belong to the 'Toolkit::Themes' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Themes
Product: Firefox → Toolkit

Thank you for reporting!

Status: UNCONFIRMED → NEW
Component: Themes → Video/Audio Controls
Ever confirmed: true
Keywords: regression
Regressed by: 1654054

:niklas, since you are the author of the regressor, bug 1654054, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(nbaumgardner)
Assignee: nobody → mathew.hodson
Status: NEW → ASSIGNED
Has Regression Range: --- → yes
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/4fa5e5a29437
Fix `<bdi>` tag in videocontrols.js. r=Gijs
Blocks: 1771737
Severity: -- → S2
Flags: needinfo?(nbaumgardner)
OS: Unspecified → All
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

Comment on attachment 9278661 [details]
Bug 1771650 - Fix <bdi> tag in videocontrols.js. r?mconley

Beta/Release Uplift Approval Request

  • User impact if declined: Potential for brokenness in video control error handling
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: n/a
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This is a trivial patch correcting a markup mistake
  • String changes made/needed: Nope
  • Is Android affected?: Yes
Attachment #9278661 - Flags: approval-mozilla-beta?

Comment on attachment 9278661 [details]
Bug 1771650 - Fix <bdi> tag in videocontrols.js. r?mconley

Low risk, approved for 102 beta 2, thanks.

Attachment #9278661 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Is this bug likely to manifest in a user-facing way?

Flags: needinfo?(mathew.hodson)

I don't think users are likely to see this bug. This code is used if a <video> element fails with an error that isn't handled by any of the listed cases. I don't know how to reproduce it.

https://searchfox.org/mozilla-central/rev/1739f1301d658c9bff544a0a095ab11fca2e549d/toolkit/content/widgets/videocontrols.js#1104-1140
https://searchfox.org/mozilla-central/rev/1739f1301d658c9bff544a0a095ab11fca2e549d/toolkit/locales/en-US/toolkit/global/videocontrols.ftl#46-50

videocontrols-error-aborted = Video loading stopped.
videocontrols-error-network = Video playback aborted due to a network error.
videocontrols-error-decode = Video can’t be played because the file is corrupt.
videocontrols-error-src-not-supported = Video format or MIME type is not supported.
videocontrols-error-no-source = No video with supported format and MIME type found.
Flags: needinfo?(mathew.hodson)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: