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

StrictMode's red screen flashing enabled

71 views
Skip to first unread message

Chris Peterson

unread,
Aug 13, 2012, 11:17:33 AM8/13/12
to
I just landed bug 781274 that will opt into Android's Strict Mode
"screen flashing". This testing feature displays a red border when
Fennec calls Android APIs on the UI thread that can cause long UI delays
(such as file or network I/O).

Here is a screenshot of StrictMode's red border:
https://bug782263.bugzilla.mozilla.org/attachment.cgi?id=651366

This only affects "unoffical" builds (local, Nightly, and Aurora
channels) running on Android >= Honeycomb.

The red borders will probably be intermittent, but they should be filed
as UI bugs. Fennec will dump useful debug info to logcat after flashing
the screen.

If the red borders are causing excessive failures of automated UI tests
or people think they are inappropriately aggressive, then I can disable
them.


chris p

Chris Peterson

unread,
Aug 13, 2012, 11:32:05 AM8/13/12
to
I should note that we've had StrictMode logcat reporting for months. I
enabled the red screen flashing in response to QA and SUMO discussions
about how to get more info about ANR errors in the field.

StrictMode screen flashing will let our (Nightly and Aurora) users tell
us whether the ANR was related to some slow code we called on our UI
thread or some other issue.


chris
0 new messages