Commit Graph
11 Commits
Author SHA1 Message Date
Matt R 720f35bc66 Bug 1355523 - Convert defer into new Promise in client/styleeditor; r=tromey
MozReview-Commit-ID: GRfkPZrW6Fn
2017-05-09 16:51:55 +01:00
Tom Tromey 3b447f9621 Bug 1273941 - replace uses of promise.defer in devtools/client/styleeditor; r=jryans
MozReview-Commit-ID: EEniVnsuuDd
2016-06-09 09:06:21 -06:00
Nicolas Chevobbe b77179e404 Bug 1240038 - Listen for changes when a StyleSheetActor is created. r=tromey
A listener was added for stylesheet changes only if the stylesheet already
contributed to the page before the modification. So if there was a stylesheet
without any rule matching a node of the page, when a rule was created in it for
the current selected node in the markup view, the rule view wasn't refreshed.
The fix here is to emit an event, from the TabActor, when a StyleSheetActor is created,
and listen to such event to watch for changes in it, in order to update the rule view.
Modify an existing rule view/stylesheet editor sync test to make sure this bug is fixed.


MozReview-Commit-ID: H3szbUnchQP
2016-06-07 22:28:45 +02:00
J. Ryan Stinnett 8aa03a5d4d Bug 1263258 - Require space before paren for anonymous functions. r=pbro
MozReview-Commit-ID: 2F0j45Vxn2I
2016-04-27 09:06:15 -05:00
Julian Descottes 069d9cbaed Bug 1245776 - part3: import shared/test/head in styleeditor/test/head;r=gl
5 tests of the styleeditor suite are importing shared/test/head.
Now that this also includes shared-head.js, it conflicts with the existing
styleeditor head file.

For now, the import was moved to the head, so it's always imported.
The tests have been updated accordingly.

Should file a follow-up to split the inspector test suites head files in a
head.js + helpers.js (see commandline/test). It should be possible to
include helpers in other tests without impact on the test lifecycle.

MozReview-Commit-ID: BU3LiEr0UtZ
2016-04-20 15:53:50 +02:00
Dave Townsend 4ac1a46d5e Bug 1257246: Update devtools for eslint 2. r=pbro
ESLint 2 now flags anonymous generator functions according to
generator-star-spacing. Most of the changes here are correcting that.

MozReview-Commit-ID: 9xg2Gmlaz94
2016-04-05 11:31:19 -07:00
Tom Tromey 7f266698b4 Bug 1240183 - make styleeditor eslint-clean; r=pbro 2016-01-29 08:25:26 -07:00
Gabriel Luong c63ff3b56b Bug 1237441 - Move styleinspector directory into the shared inspector directory r=pbro 2016-01-12 09:52:12 -08:00
Wes Kocher 9329572311 Backed out changeset 29f184e43309 (bug 1237441) for eventual build bustage 2016-01-12 09:20:43 -08:00
Gabriel Luong b5d2cb9306 Bug 1237441 - Move styleinspector directory into the shared inspector directory r=pbro 2016-01-12 08:55:46 -08:00
Tom Tromey b5cd0eaa11 Bug 984880 - as-authored styles in the rule view; r=pbrosset,r=bgrins 2015-10-06 09:35:31 -07:00