Closed
Bug 894962
Opened 12 years ago
Closed 12 years ago
Firefox OS viewport bug can cause infinite refresh loop on Firefox OS Page
Categories
(www.mozilla.org :: Pages & Content, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: agibson, Assigned: jpetto)
Details
(Whiteboard: [kb=1049845] )
Note - This only seems to happen on Firefox OS Peak devices from what we've tested so far. We cannot reproduce this on the Keon.
On the Firefox OS page contains a matchMedia event listener that refreshes the page when resizing down to a small viewport.
It appears that on the Peak it can sometimes take a second or so for the meta viewport to kick in while loading the page, which sometimes makes the matchMedia event listener fire incorrectly. This can lead to an infinite loop of page refreshes :/
We should only add this listener within the logic for desktop interactions, as it's not really needed for mobile. This should be a simple fix, but it's a very obscure bug.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → jon
Comment 1•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/bedrock
https://github.com/mozilla/bedrock/commit/48986285153a8ae5c4b93eee5bfd9552c8d742fe
Move matchMedia/scroll pos checks to desktop only. Bug 894962.
https://github.com/mozilla/bedrock/commit/1a52c5b640a6c5562a091cad29fa42ac501beb00
Merge pull request #1084 from jpetto/bug-894962-fxos-viewport-bug
Move matchMedia/scroll pos checks to desktop only. Bug 894962.
Updated•12 years ago
|
Priority: -- → P2
Whiteboard: [kb=1049845]
| Reporter | ||
Comment 2•12 years ago
|
||
I can no longer reproduce this issue on prod
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 3•12 years ago
|
||
verified fixed I can no longer reproduce this on my device
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•