WebGL content doesn't return after phone is locked and unlocked

NEW
Unassigned

Status

()

Firefox for Android
Toolbar
6 years ago
6 years ago

People

(Reporter: Dave Evans, Unassigned)

Tracking

19 Branch
ARM
Android
Points:
---

Firefox Tracking Flags

(firefox17 affected, firefox18 affected, firefox19 affected)

Details

(Reporter)

Description

6 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11

Steps to reproduce:

Using my Galaxy Nexus Phone:
Load this page: http://apps.playcanvas.com/playcanvas/halloween/mobile
Wait until the application is loaded and two animated characters are displayed
Lock the phone using the hardware button on the phone.
Unlock the phone.


Actual results:

After unlocking the phone, the WebGL content on the page is no longer visible.



Expected results:

The page should be in the same state that it was before locking the phone. i.e. the characters should be displayed animating as before.
What version of Firefox? Is this different using a nightly build? http://nightly.mozilla.org
(Reporter)

Comment 2

6 years ago
Tested on stable (16) and beta (17) and occurs in both. I'll check nightly.
(Reporter)

Comment 3

6 years ago
Occurs in nightly (19.0a1) too.
OS: Mac OS X → Android

Comment 4

6 years ago
Using Nightly 19.0a1 (2012-11-14) this is reproducible on:
Devices: Galaxy Nexus(Android 4.1.2), Samsung Galaxy Tab (Android 3.1.1)

But not reproducible on:
Samsung Galaxy R (Android 2.3.4)
Status: UNCONFIRMED → NEW
status-firefox19: --- → affected
Ever confirmed: true
Hardware: x86 → ARM

Updated

6 years ago
status-firefox17: --- → affected
status-firefox18: --- → affected
Version: Firefox 16 → Firefox 19
That indicates that locking/unlocking causes WebGL context loss, which is normal behavior. WebGL content has to handle webglcontextlost/restored events to recover.

This WebGL page does handle these events:
http://www.khronos.org/registry/webgl/sdk/demos/google/san-angeles/index.html

Does it recover on this phone?

Comment 6

6 years ago
The WebGL page (http://www.khronos.org/registry/webgl/sdk/demos/google/san-angeles/index.html) is not displayed on any device Samsung Galaxy R (Android 2.3.4) or Samsung Galaxy Tab (Android 3.1.1) using latest Nightly.
You need to log in before you can comment on or make changes to this bug.