VOOZH about

URL: https://bugzilla.mozilla.org/show_bug.cgi?id=1620113

⇱ 1620113 - update main controller to the last tab playing media


Closed Bug 1620113 Opened 6 years ago Closed 6 years ago

update main controller to the last tab playing media

update main controller to the last tab playing media
Core
Audio/Video: Playback
unspecified
Unspecified
Unspecified
defect
Points:
---
RESOLVED FIXED
RESOLVED
FIXED
mozilla76
Iteration:
---
a11y-review
Accessibility Severity
Performance Impact
Size Estimate
Webcompat Priority
Webcompat Score
Tracking Status
firefox-esr68 --- unaffected
firefox74 --- wontfix
firefox75 --- wontfix
firefox76 --- fixed
Tracking Status
relnote-firefox
thunderbird_esr115
thunderbird_esr140
firefox-esr68
firefox-esr115
firefox-esr140
firefox-esr153
firefox74
firefox75
firefox76
firefox152
firefox153
firefox154
---
QA Whiteboard:
---
Has STR:
---
Change Request:
---
Signature:
None
This bug is publicly visible.

 
Assignee

Description

6 years ago

Since bug1571493, we are able to control media even if we pause it from website directly, not from the media control keys. But it causes another problem which is we lost tracking the last tab playing media, so we should fix this issue in order to always let media control keys to control the last tab playing media.


STR.

  1. playing media in tab A
  2. playing media in another tab B
  3. pause media in tab A by directly controlling media from page
  4. start media in tabA again by directly controlling media from page
  5. press media control key

Expect.
6. tab A should be controlled

Actual.
6. We are controlling tab B, not tab A

Bugbug thinks this bug is a defect, but please change it back in case of error.

Type: task → defect
Assignee

Comment 7

6 years ago

Target this bug on this release cycle (Fx76) so mark it as P1.

Severity: normal → minor
Priority: P3 → P1
Assignee

Updated

6 years ago
Blocks: 1623486
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2511ace99c5e part1 : support `contain` and `length` for LinkedList. r=froydnj https://hg.mozilla.org/integration/autoland/rev/d3f1873dfae9 part2 : replace nsTArray with LinkedList. r=chunmin https://hg.mozilla.org/integration/autoland/rev/1185f5a8daf8 part3 : rename function names to explicitly mention that they're used for main controller. r=chunmin https://hg.mozilla.org/integration/autoland/rev/5241e4aab772 part4 : update main controller when controller changes its playback state to playing. r=chunmin https://hg.mozilla.org/integration/autoland/rev/d17830bcc177 part5 : add test. r=chunmin https://hg.mozilla.org/integration/autoland/rev/3d865b06d46d part6 : modify test. r=chunmin https://hg.mozilla.org/integration/autoland/rev/827124686e24 part7 : revert the workaround in 'browser_media_control_stop_timer.js'. r=chunmin
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.