Closed Bug 938952 Opened 7 years ago Closed 7 years ago

[UITest] provide a way to exit fullscreen mode

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tjao, Assigned: tjao)

References

Details

Attachments

(1 file)

Some tests in UITest app may enter fullscreen mode but doesn't provide a way to exit except for pressing home button.

Tests need to be fix:
UI/fullscreen
HW/touchscreen

HW/lcd test also uses mozRequestFullscreen() but provide a way to exit by just tap the screen again. I didn't add any hint of exiting fullscreen mode because LCD color test should display only pure color. Maybe we can add hint text/alert before entering fullscreen.
Assignee: nobody → tjao
Blocks: eng-mode
Attachment #8333740 - Flags: review?(gasolin)
Attachment #8333740 - Flags: review?(gasolin)
Oops, I forgot to fix HW/LCD test.
The code works well on device, but I found some style problems.

Tom, could you run gjslint and fix style issues for these files?
Attachment #8333740 - Flags: review?(gasolin)
Attachment #8333740 - Flags: review?(gasolin) → review+
merged to gaia-master https://github.com/mozilla-b2g/gaia/commit/a4a301255dc3460f448993904be30a584ecb6567
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.