Use unprefixed Fullscreen API in video document

NEW
Unassigned

Status

()

defect
3 years ago
5 months ago

People

(Reporter: xidorn, Unassigned, NeedInfo)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

3 years ago
We revert video documents to use prefixed Fullscreen API in bug 1273468 because we disabled unprefixed Fullscreen API in content for release versions by default in bug 1268749, and video documents do not have chrome permission just like normal content.

Eventually, we want to use unprefixed Fullscreen API in that document again once we can stably enable the unprefixed API in content in bug 1269276.

Comment 1

5 months ago
Has this landed?
Flags: needinfo?(xidorn+moz)
Reporter

Comment 2

5 months ago
No, I don't think so. We should land it. Actually, we should try to get rid of any usage of prefixed API internally (except test explicitly testing the prefixed API).
Reporter

Comment 3

5 months ago
Keep the ni? for now, and see if I can find some time to work on this.

Comment 4

5 months ago
Thank you for your response.

Wasn't sure if it was duplicated somewhere else.
Reporter

Comment 5

5 months ago
No. Basically, it's:
* https://searchfox.org/mozilla-central/rev/bcc0fe1081dc4f84fc5fdfebe0d2de8c075a4e2c/toolkit/content/TopLevelVideoDocument.js#56-60
* https://searchfox.org/mozilla-central/rev/bcc0fe1081dc4f84fc5fdfebe0d2de8c075a4e2c/toolkit/content/widgets/videocontrols.js#1306-1310
* https://searchfox.org/mozilla-central/rev/bcc0fe1081dc4f84fc5fdfebe0d2de8c075a4e2c/toolkit/content/widgets/videocontrols.xml#1287-1291

It's interesting that the code in videocontrols.js and videocontrols.xml seem to be duplicate. It seems the one in .js is newly migrated in bug 1431255. Tim, is there any reason we still need to keep the code around in videocontrols.xml?
Flags: needinfo?(timdream)
We will need videocontrols.xml until bug 1507895. If UA Widgets ships in 65 without incidents that will happen in 66.
Flags: needinfo?(timdream)
Reporter

Comment 7

5 months ago
OK, thanks! Let's make it depend on that one so that there can be one fewer place to update :)
Depends on: 1507895
You need to log in before you can comment on or make changes to this bug.