Closed Bug 1674110 Opened 4 years ago Closed 3 years ago

Investigate intermittent duplicate calls to MediaSession onMetadata

Categories

(GeckoView :: Media, defect)

All
Android
defect

Tracking

(firefox85 fixed)

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: esawin, Assigned: esawin)

References

Details

(Whiteboard: [geckoview:m85])

Attachments

(1 file)

Let's find out why MediaSession.Delegate.onMetadata is sometimes called more than the expected number of times, e.g., intermittently during this test steps.

This is a follow-up to bug 1667278, where we disabled the count contraint to avoid test failures.

Component: General → Audio/Video
Product: GeckoView → Core

This is actually a race caused by the test file, where we play a media element before assigning the metadata, which forces the generation of a default metadata event.

Assignee: nobody → esawin
Status: NEW → ASSIGNED
Type: task → defect
Component: Audio/Video → General
Product: Core → GeckoView
Target Milestone: --- → 85 Branch
Version: unspecified → Trunk
Whiteboard: [geckoview:m85]
Pushed by esawin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ca35707f3b21
[1.0] Avoid triggering default metadata events in tests. r=geckoview-reviewers,alwu,agi
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Moving some media bugs to the new GeckoView::Media component.

Component: General → Media
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: