Bug 1678372 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

Steps to reproduce:

A number of tests in toolkit/components/pictureinpicture/tests create functions to check if a video is paused. Recently a helper function was added to toolkit/components/pictureinpicture/tests/head.js that has this same functionality - https://searchfox.org/mozilla-central/source/toolkit/components/pictureinpicture/tests/head.js#819-830 . It would be good to refactor any tests that use similar functions to just use the now provided helper function in head.js.
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

A number of tests in toolkit/components/pictureinpicture/tests create functions to check if a video is paused. Recently a helper function was added to toolkit/components/pictureinpicture/tests/head.js that has this same functionality - https://searchfox.org/mozilla-central/source/toolkit/components/pictureinpicture/tests/head.js#819-830 . It would be good to refactor any tests that use similar functions to just use the now provided helper function in head.js.

Back to Bug 1678372 Comment 0