Commit Graph
103 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
Gabriel Luong e1a8c55873 Backed out changeset fa608874b0f3 because of Bug 1404904. r=backout 2017-10-02 10:11:51 -04:00
Towkir Ahmed 9f9eb184a7 Bug 1382171 - Remove MDN Docs widget. r=jdescottes 2017-10-03 09:13:00 -04:00
Liam Hodgins 16e596921f Bug 1403334 - Make sure the property value overflow is indented r=gl
MozReview-Commit-ID: 6JKUgVfWyQ
2017-09-26 14:50:15 -06:00
Sebastian Hengst ca2aed2314 Backed out changeset a9fb635e2d2f (bug 1403334) for failing devtools' devtools/client/inspector/rules/test/browser_rules_pseudo-element_01.js. r=backout 2017-09-28 09:49:45 +02:00
Liam Hodgins 1b41c90b8b Bug 1403334 - Make sure the property value overflow is indented r=gl
MozReview-Commit-ID: 6JKUgVfWyQ
2017-09-26 14:50:15 -06:00
Gabriel Luong 55cc6bcd6c Bug 1402709 - Don't use capture for the toolbox context menu. r=bgrins 2017-09-26 08:43:22 -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
Gabriel Luong 0363fd2bc5 Bug 1391478 - Pseudo-elements container toggle should work with a click event instead of dblclick. r=bgrins 2017-08-18 14:08:59 -07:00
Sebastian Hengst 616cf1babe Backed out changeset 2900b2b1b20a (bug 1391478) for failing devtools' browser_inspector_highlighter-comments.js. r=backout 2017-08-19 00:32:38 +02:00
Gabriel Luong ea831b77f3 Bug 1391478 - Pseudo-elements containner toggle should work with a click event instead of dblclick. r=bgrins 2017-08-18 14:08:59 -07:00
Gabriel Luong 682484e485 Bug 1390727 - Add a consistent style for all the no result messages in the inspector sidepanel. r=bgrins 2017-08-16 10:36:55 -07:00
Gabriel Luong 063a5ea59b Bug 1390746 - Add a consistent style for the accordion and section headers in the inspector sidepanels. r=bgrins 2017-08-16 10:32:45 -07:00
Brian Grinstead a9da9e8376 Bug 1388104 - Remove inspector-specific context menu handling for HTML inputs;r=gl
These are now handled by the toolbox listener introduced in the previous patch

MozReview-Commit-ID: J93BUEw4Pyq
2017-08-15 15:39:45 -07: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
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
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
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
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
Patrick Brosset e39b3d1fa5 Bug 1213767 - Rule-view class toggle panel. r=jdescottes
MozReview-Commit-ID: 2roKEm6Jr26
2017-03-03 14:09:23 +01:00
Tim Nguyen 265bbb90e8 Bug 1255116 - Simplify toolbar button styles. r=jryans
MozReview-Commit-ID: 9J11mNk2c5W
2017-02-14 19:34:54 +00:00
Florian Quèze c32c931bc9 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +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
Carsten "Tomcat" Book 11757a7943 merge mozilla-inbound to mozilla-central a=merge 2017-01-12 10:14:43 +01:00
Gabriel Luong 487faee53c Bug 1327767 - Show multiples sections for rules inherited from several elements of the same type. r=gl 2017-01-11 19:59:56 -05:00
Sebastian Hengst c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen 548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Tim Nguyen 67dab99cca Bug 1330074 - Enable no-self-assign, no-useless-call and no-useless-return in devtools/. r=jryans
MozReview-Commit-ID: A345G1QOOpm
2017-01-10 22:14:03 +00:00
Gabriel Luong a61285b0f2 Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes 2016-12-17 12:44:56 +09:00
Tom Tromey c5e4df9459 Bug 1316630 - move PrefObserver to devtools/shared/prefs.js; r=jdescottes
MozReview-Commit-ID: C4KxFxv2LVT
2016-11-14 15:46:19 -07:00
Gabriel Luong 310d131a63 Bug 1318835 - Inspector should own the one instance of the HighlightersOverlay. r=pbro 2016-11-28 21:10:53 +08:00
Gabriel Luong 58614a1d0a Bug 1319365 - Bail out of the async function getSelectorHighlighter when the inspector is unavailable. r=jdescottes 2016-11-22 18:54:09 +08:00
Gabriel Luong 71ed99ef7e Bug 1302536 - Adds a toggleable button next to the 'display: grid' declaration to toggle the grid highlighter r=pbro 2016-11-16 22:35:20 +09:00
Gabriel Luong 639946a499 Bug 1316797 - Refactor HighlightersOverlay and TooltipsOverlay into separate modules r=jdescottes 2016-11-12 00:58:09 +09:00
Tom Tromey 8b3e8ed91f Bug 1314047 - remove some unnecessary eslint "globals" from inspector; r=gregtatum
MozReview-Commit-ID: EUYMiF7dNKz
2016-10-27 05:34:33 -06:00
Gabriel Luong 4943d23a3b Bug 1307481 - Part 3: HTMLTooltip should receive the document that it should be attached to instead of the toolbox r=jdescottes 2016-10-08 09:49:07 -04:00
Wes Kocher 591a7b2fd1 Backed out 2 changesets (bug 1307481) for mass dt bustage a=backout
Backed out changeset 91c6a72e5d0d (bug 1307481)
Backed out changeset a9f9f5611272 (bug 1307481)
2016-10-07 11:54:38 -07:00
Gabriel Luong 52c4111f6c Bug 1307481 - Part 3: HTMLTooltip should receive the document that it should be attached to instead of the toolbox r=jdescottes 2016-10-07 13:33:52 -04:00
Alexandre Poirot ffec1eac33 Bug 1297758 - Fetch target and fronts from inspector getter rather than toolbox. r=bgrins
MozReview-Commit-ID: HchlqORtfH5
2016-09-29 10:02:28 -07:00
Patrick Brosset ee4a9fbf43 Bug 733880 - Add the missing copy/paste/cut menus on all text boxes in inspector; r=jdescottes
This change makes use of the toolbox's textBox menu in all of the
inspector's text fields.
Previously, right-clicking in a text field in the inspector would give
various results: either the tool's context menu would open, or nothing
would happen, or the usual copy/paste/cut menu would open.

Now, right-clicking in any text field in the inspector always shows the
copy/paste/cut menu.

MozReview-Commit-ID: DwkhBqY7Qzj
2016-09-23 19:21:09 +02:00
Greg Tatum 3e6ab7973a Bug 1291866 - Replace inIDOMUtils.cssPropertyIsValid; r=tromey
MozReview-Commit-ID: JqO4UiPHAPE
2016-09-16 08:46:51 -05:00
Phil Ringnalda 8ebf504b68 Backed out 4 changesets (bug 1297758) for browser_dbg_variables-view-popup-13.js failures
CLOSED TREE

Backed out changeset 95ca02cec38d (bug 1297758)
Backed out changeset 80bc957e1052 (bug 1297758)
Backed out changeset fee0da956618 (bug 1297758)
Backed out changeset 1ac36ff4b601 (bug 1297758)
2016-09-27 18:21:57 -07:00
Alexandre Poirot f54b13de8b Bug 1297758 - Fetch target and fronts from inspector getter rather than toolbox. r=bgrins
MozReview-Commit-ID: HchlqORtfH5
2016-09-26 07:06:59 -07:00
Tom Tromey c660c5609e Bug 1265796 - remove dummy document from rule view; r=gregtatum
MozReview-Commit-ID: 3iyEuTrWe19
2016-09-21 09:58:15 -06:00