[UITest] provide a way to exit fullscreen mode

RESOLVED FIXED

Status

defect
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: tjao, Assigned: tjao)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.