Open Bug 1658849 Opened 5 years ago

Add more test cases for resuming video decoding when mouse hovering on the tab

Categories

(Core :: Audio/Video: Playback, task, P3)

task

Tracking

()

People

(Reporter: alwu, Assigned: alwu)

References

Details

The test case in browser_resume_bkg_video_on_tab_hover.js is not enought, especially considering enabling Fission, we should also have some tests to test if the video decoding can be resumed correctly when video is in a cross orgin iframe.

The test cases I think we should add are

  1. When having multiple, we should only affect one tab
  2. Resuming should works for normal and cross origin iframe

In addition, it would be better to create a separate folder under dom/media for this feature and put related tests on that folder in order to clearly know what test coverage we have. The current test is under toolkit/content/tests/browser/.

You need to log in before you can comment on or make changes to this bug.