Closed Bug 725215 Opened 12 years ago Closed 12 years ago

Add magic shortcut to enable debugging features

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cjones, Assigned: fabrice)

Details

Attachments

(1 file)

We haven't mapped the SEARCH key, and AFAIK we don't have any plans to do so.  It would be awesome to use that key to flip on a debug mode.

Initially at least, we should
 - toggle the layers.acceleration.draw-fps pref
 - toggle the nglayout.debug.paint_flashing pref

Later we can flip on verbose logging for things like RIL.
Attached patch patchSplinter Review
simple patch. I kept an if()/else() in toggleDebug in case we want to add something more complex than just switching boolean prefs.
Assignee: nobody → fabrice
Attachment #595481 - Flags: review?(jones.chris.g)
Comment on attachment 595481 [details] [diff] [review]
patch

\o/
Attachment #595481 - Flags: review?(jones.chris.g) → review+
https://hg.mozilla.org/mozilla-central/rev/8df98bb171f0
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: