Closed Bug 1485022 Opened 6 years ago Closed 6 years ago

Stop using gcli for paint flashing

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(firefox63 fixed)

RESOLVED FIXED
Firefox 63
Tracking Status
firefox63 --- fixed

People

(Reporter: yulia, Assigned: yulia)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

As alex mentioned in https://bugzilla.mozilla.org/show_bug.cgi?id=1447490

A bunch of optional toolbox buttons are currently relying on gcli commands, whereas they could use regular actors to do that:

* Paintflashing
  https://searchfox.org/mozilla-central/source/devtools/client/definitions.js#514
  The real code that toggle the paint flashing, that should be moved to an actor is here:
  https://searchfox.org/mozilla-central/source/devtools/shared/gcli/commands/paintflashing.js#46-78

this can be moved to its own actor
Set the targets paintflashing via the reconfigure on the target.
Summary: Move Paintflash to own actor → Stop using gcli for paint flashing
Comment on attachment 9002799 [details]
Bug 1485022 - use target.reconfigure to set paint flashing; r=ochameau

Alexandre Poirot [:ochameau] has approved the revision.
Attachment #9002799 - Flags: review+
Blocks: 1487086
Pushed by ystartsev@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ea662eb5edee
use target.reconfigure to set paint flashing; r=ochameau
https://hg.mozilla.org/mozilla-central/rev/ea662eb5edee
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: