Closed Bug 876365 Opened 9 years ago Closed 4 years ago

Get a pref() to paint setVisible(false)'d mozbrowser iframes

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: timdream, Unassigned)

References

Details

See dev-b2g "Proposal: an option to paint the setVisible(false)'d mozbrowser iframe with a random solid color, or chessboard pattern"

We are currently throw away what's painted in the iframe if the frame
is being set to not visible. Gaia devs have hard time debugging when
they work on those and forget to (temporary) set a background color to
those otherwise invisible frames.

It would be nice if we have a pref in Gecko, when enabled, turn those
iframes into a random solid color, or chessboard pattern.
It should be relatively easy to figure out which iframes are setVisible(false)'ed (for example, their docshells should have isActive == false), but I don't actually know how to paint them differently.  You'll need to ask a layers/gfx person.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.