Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

6 views
Skip to first unread message

Tim Chien

unread,
May 24, 2013, 5:12:21 AM5/24/13
to dev...@lists.mozilla.org, Justin Lebar
Hi all,

(send it to dev-b2g, the right place)

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 frames.

Would it be possible to have a pref in Gecko, when enabled, turn those
iframes into a random solid color, or chessboard pattern? I was
originally thinking about proposing that as a default behavior, but
then I thought that would probably cost memory (which defeat the
purpose at first place) and we really don't want our users see random
color/chessboard pattern flashes on some transitions.

Does the pref() way sounds good?


--
Tim Guan-tin Chien, Engineering Manager and Front-end Lead, Firefox
OS, Mozilla Corp. (Taiwan)

Justin Lebar

unread,
May 24, 2013, 9:28:02 AM5/24/13
to Tim Chien, dev...@lists.mozilla.org
This sounds like a decent idea to me. File a bug?

Tim Chien

unread,
May 27, 2013, 5:56:10 AM5/27/13
to Justin Lebar, dev...@lists.mozilla.org
0 new messages