Commit Graph
155 Commits
Author SHA1 Message Date
Wes Kocher 10b9e0b764 Merge inbound to central, a=merge
MozReview-Commit-ID: I1ge4dvWtTB
2017-10-03 14:37:35 -07:00
sole bd556f44be Bug 1383037 - Use only one debounce function in devtools. r=pbro
MozReview-Commit-ID: J9t90N1U2XY
2017-10-03 11:03:19 +01:00
Towkir Ahmed 9f9eb184a7 Bug 1382171 - Remove MDN Docs widget. r=jdescottes 2017-10-03 09:13:00 -04:00
Tom Tromey b53efcdbe0 Bug 1371849 - remove style editor's source-map pref; r=gl
This changes the style editor and inspector to use the same pref that
the other tools are using.  This pref is a bit of a misnomer for now,
because the inspector and style editor aren't actually using the
client-side service; but I think the name is not very important, and
unifying the prefs is worthwhile.

MozReview-Commit-ID: FlwCICnoaX4
2017-06-12 12:25:22 -06:00
Tom Tromey 2c4ab81b95 Bug 1395262 - use plain console.error in devtools promise catches; r=bgrins
MozReview-Commit-ID: C8IhVPckQJ7
2017-08-30 12:05:41 -06:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher aa1caed330 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0 c91b128704 Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Nicolas Ouellet-Payeur 2fa26e2e05 Bug 1368202 - convert uses of "defer" to "new Promise" in client/inspector r=tromey
MozReview-Commit-ID: lXAVyomDlV
2017-08-03 00:28:05 -07:00
Gabriel Luong b5a26a472b Bug 1386108 - Update Computed stylesheet to use more specific selectors. r=jdescottes 2017-08-01 20:56:57 -04:00
Gabriel Luong e2a77203c9 Bug 1376774 - Restore the highlighter states on markup loaded prior to emitting the "new-root" event. r=jdescottes 2017-07-26 16:26:09 -04:00
Mike Park 514b99db5e Bug 1282717 - Highlight CSS shapes points in the page from the rule-view and vice versa. r=pbro
MozReview-Commit-ID: 9pXkbAwgcXO
2017-07-05 10:57:42 -04:00
Mike Park e44016fb2d Bug 1373339 - Add a button in the rules view to toggle the CSS shapes highlighter. r=gl
Requires pref "devtools.inspector.shapesHighlighter.enabled" to be true.

MozReview-Commit-ID: Ispw7ulV5o6
2017-06-20 11:23:32 -04:00
Jim Mathies df4f0381d6 Bug 1356317 - Touch ups for flaky dev tools popup tests. r=mratcliffe 2017-07-04 13:45:19 -05:00
Patrick Brosset 68112a7c1d Bug 1374587 - Avoid getting NodeActors for grids when we already know them and filter reflows; r=gl
Here we make updates on reflow slower (with a throttle) cause we don't
really need to update live.
We also filter all reflows that do not cause either the list of grids or
the current outline to change.
Finally, we also attach NodeActors to GridActor forms (when they are know)
in order to avoid one more round-trip to the server.

Globally, this makes performance of the grid panel far better on pages that
cause many reflows.

Note that this commit also fixes a debounce vs. throttle confusion that
existed in an inspector utils file. The throttle function there was actually
a debounce function, so it was renamed, and an actual throttle function
was added.

MozReview-Commit-ID: GeqgZR0o0E6
2017-06-27 12:02:53 -07:00
Sebastian Hengst ca73b5de99 Backed out changeset 909ccc166a06 (bug 1374587) on suspicion of causing timeouts in browser_grids_number-of-css-grids-telemetry.js. r=backout 2017-06-23 18:55:38 +02:00
Patrick Brosset ae148cbd69 Bug 1374587 - Avoid getting NodeActors for grids when we already know them and filter reflows; r=gl
Here we make updates on reflow slower (with a throttle) cause we don't
really need to update live.
We also filter all reflows that do not cause either the list of grids or
the current outline to change.
Finally, we also attach NodeActors to GridActor forms (when they are know)
in order to avoid one more round-trip to the server.

Globally, this makes performance of the grid panel far better on pages that
cause many reflows.

Note that this commit also fixes a debounce vs. throttle confusion that
existed in an inspector utils file. The throttle function there was actually
a debounce function, so it was renamed, and an actual throttle function
was added.

MozReview-Commit-ID: GeqgZR0o0E6
2017-06-20 14:57:34 +02:00
Gabriel Luong 7073747490 Bug 1373483 - Add telemetry for the grid inspector. r=pbro. data-r=bsmedberg 2017-06-20 16:32:18 -07:00
Wes Kocher 24a0d454ab Backed out changeset 830b3b513bf1 (bug 1373483) for build failures in TelemetryHistogram.o a=backout
MozReview-Commit-ID: I5RRKMjXWKM
2017-06-20 15:03:04 -07:00
Gabriel Luong 0ef615e987 Bug 1373483 - Add telemetry for the grid inspector. r=pbro. data-r=bsmedberg 2017-06-20 14:41:13 -07:00
Paolo Amadini 7afba17088 Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P
2017-06-19 11:32:37 +01:00
Gabriel Luong 6e794a4ffe Bug 1369951 - Use the stored grid highlighter settings for the grid highlighter toggled in the rule view. r=pbro 2017-06-07 10:03:00 -04:00
Alexandre Poirot a066a3e24e Bug 1369104 - Fix eslint error on highlighters-overlay.js. r=pbro
MozReview-Commit-ID: 6lhfILmmEGC
2017-05-31 18:38:04 +02:00
Patrick Brosset f8a13869cc Bug 1222737 - Tests for the computed-view copy feature; r=pbro
MozReview-Commit-ID: KR1H9tn0u7r
2017-05-11 15:12:27 +02:00
Gabriel Luong f0feb675f9 Bug 1321238 - Add unit tests for the Grid List and Display setting components. r=jdescottes 2017-05-29 15:54:35 -04:00
Phil Ringnalda 004e83846f Backed out changeset ad742747a8d0 (bug 1321238) for (at least) eslint failures
MozReview-Commit-ID: Em8hWRGDB3Y
2017-05-29 11:45:33 -07:00
Gabriel Luong e9cb195980 Bug 1321238 - Add unit tests for the Grid List and Display setting components. r=jdescottes 2017-05-29 14:23:56 -04:00
Nazım Can Altınova e03dfabf15 Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert
MozReview-Commit-ID: J2Tn8GKfKIN
2017-04-24 15:54:51 +03:00
Sebastian Hengst 681d92fccd Backed out changeset 19f0b1e8f287 (bug 1358710) for failing reftest aja-linear-2.html on OS X with e10s. r=backout 2017-05-15 00:18:47 +02:00
Nazım Can Altınova 253dbdec6e Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert
MozReview-Commit-ID: J2Tn8GKfKIN
2017-04-24 15:54:51 +03:00
Alexandre Poirot 0b8aff48d5 Bug 1351266 - Test preview and font tooltips by faking mouse events. r=jdescottes
MozReview-Commit-ID: LdaTXmo9Eb6
2017-03-28 15:51:08 +02:00
Alexandre Poirot eb708d4d60 Bug 1320939 - Lazy load all tooltip widgets until each is really used. r=jdescottes
MozReview-Commit-ID: 9P93GocdLm8
2017-01-31 15:31:37 +01:00
Paul Bignier 800a7a8b9d Bug 1352808 - Typo fixes for 'browser' in comments. r=MattN
MozReview-Commit-ID: IA42yQO5Sb8
2017-04-03 15:26:11 -07:00
Stefan Yohansson 20195ca04e Bug 1349520 - disable checkered background for font preview tooltips;r=jdescottes
Added flag hideCheckeredBackground to hide checkered background if pass true.

MozReview-Commit-ID: FOQO59xqGvt
2017-03-28 17:28:54 -03:00
Alexandre Poirot 06bea2fcdb Bug 1335419 - Lazy load and instanciate computed view, ruleview and font inspector. r=jdescottes
MozReview-Commit-ID: CtI8w6Ao35u
2017-01-31 16:26:40 +01:00
Julian Descottes bb5a4dc04d Bug 1348005 - update grid panel on reflows;r=gl
Extracted the reflow tracking logic from the box-model to a dedicated util in
inspector/shared/reflow-tracker.js to use it in both box-model and grid-inspector.

MozReview-Commit-ID: DZCOH3RDY6
2017-03-29 20:51:27 +02:00
Carsten "Tomcat" Book 811b1bab9a merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Gabriel Luong c5ba3b7f61 Bug 1342941 - Implement the geometry editor toggle in the new box model. r=zer0 2017-03-11 19:53:37 -05:00
Julian Descottes 6624a5645c Bug 1342310 - preserve grid highlighter only when reloading the page;r=zer0
Store url in highlighters-overlay grid state to avoid reapplying a state
after navigating on a different page.

MozReview-Commit-ID: 6rTsAPuPhvx
2017-03-06 19:19:58 +01:00
Julian Descottes 16fd12978f Bug 1342310 - read grid color from highlighters-overlay state;r=gl
- emit highlighter options when emitting grid highlighter shown/hidden
events
- read color for highlighted grid container when building initial grids
array in grid-inspector
- explicitly set color when toggling grid highlighter from the rule view

MozReview-Commit-ID: IqvnSdJfq9u
2017-03-09 00:30:47 +01:00
Julian Descottes 8882765bec Bug 1342310 - remember selected grid container on navigate;r=gl
The highlighters-overlay now keep the state of the grid highlighter
in memory. On "navigate", the state is restored.

MozReview-Commit-ID: 7KNhxHs3L5G
2017-03-02 18:16:47 +01:00
Julian Descottes 7a38114922 Bug 1333714 - update grid highlighter and layout panel on markupmutation;r=gl
MozReview-Commit-ID: 9TAUxqTiT4M
2017-03-07 18:02:41 +01:00
Sébastien Blin 999c7d96b1 Bug 1327675 - Correctly hightlight nodes for inherited rules. r=pbro 2017-02-03 08:08:00 -05:00
Sebastian Hengst 2c9e48f9cd Backed out changeset bb3edf240bb0 (bug 1327675) for eslint failures. r=backout 2017-02-02 00:01:39 +01:00
Sébastien Blin 1d3f38632c Bug 1327675 - Correctly hightlight nodes for inherited rules. r=pbro 2017-02-01 06:13:00 -05:00
Wes Kocher ca6a7351bf Backed out changeset 85d33b74434a (bug 1327675) for asan dt10 failures in browser_rules_content_02.js a=backout
MozReview-Commit-ID: GxWdtGX5Lor
2017-01-31 10:24:33 -08:00
Sébastien Blin 2e45df1d1d Bug 1327675 - Correctly hightlight nodes for inherited rules. r=pbro
MozReview-Commit-ID: KydZ3vNM6Z6
2017-01-27 07:32:00 +01:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Geoff Brown 828ad789f9 Bug 1328915 - Skip linux32/debug devtools tests in clipboard and gpu subsuites; r=me 2017-01-16 11:58:13 -07:00
Florian Quèze a8d56e6b58 Bug 1330147 - fix by hand the issues raised by the new no-useless-parameters eslint rule, r=jaws. 2017-01-11 22:27:43 +01:00