Closed Bug 761856 Opened 7 years ago Closed Last year

Full screen enabled for document but request fails with Marionette and B2G emulator

Categories

(Core :: DOM: Core & HTML, defect, P5)

ARM
Gonk (Firefox OS)
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: gmealer, Unassigned)

References

Details

Attachments

(2 files)

document.mozFullScreenEnabled is set to true in the context of Marionette content. However, calling document.documentElement.requestFullScreen() fails and results in a mozfullscreenerror event. My understanding from the docs is that the former attribute should be a reliable indicator of whether the request would succeed.

I've attached a short Marionette test illustrating this, along with its output. It can be ran against a checked-out mozilla-central repo as follows:

python ~/mozilla-central/testing/marionette/client/marionette/runtests.py --emulator arm --homedir <PATH-TO-B2G-ARM-EMULATOR> ./test_fullscreen.js

jgriffin can fix you up with an emulator if you need one; drop him a line directly.

This may intersect (or duplicate) Bug 684620. After a short discussion with jgriffin, have filed separately since Bug 684620 is specific to multiprocess.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Looks like nothing is going to happen here, closing.
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → WONTFIX
Mass closing as we are no longer working on b2g/firefox os.
Mass closing as we are no longer working on b2g/firefox os.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.