Commit Graph

64 Commits

Author SHA1 Message Date
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
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
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
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
Florian Quèze
361ec85a2e Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
Jared Wein
21fc75d491 Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
MozReview-Commit-ID: 99mWjxu8PPn
2017-01-03 10:07:50 -05:00
Gabriel Luong
a61285b0f2 Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes 2016-12-17 12:44:56 +09:00
Gabriel Luong
da70f5344d Bug 1308260 - Part 6: Toggling the grid highlighter should emit the node that the grid highlighter was shown or hidden for and update the grid's highlighted state. r=pbro 2016-11-29 19:32:59 +08: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
Phil Ringnalda
4c9782b5df Backed out changeset b3ad07be866f (bug 1310416) for pushing dt4 and dt5 over 4800 seconds on Linux debug most of the time, a=backout 2016-11-14 18:28:14 -08:00
Tom Tromey
6a91841036 Bug 1310416 - use browser loader for inspector; r=jdescottes
MozReview-Commit-ID: XZfoJ26Du7
2016-11-04 15:08:02 -06:00
Tom Tromey
1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher
20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey
d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Tom Tromey
75af5c1f19 Bug 1310702 - use webpack-like require.context in devtools l10n; r=jryans
MozReview-Commit-ID: 5noH0y0MgaK
2016-10-20 11:00:28 -06:00
Phil Ringnalda
82387edd0e Merge m-c to m-i
MozReview-Commit-ID: Ihd0iacfcIW
2016-10-18 19:45:02 -07:00
Julian Descottes
4d335c6382 Bug 1310310 - ruleview stylesheet link using span instead of label;r=jsnajdr
MozReview-Commit-ID: Fl6vKp2GbKV
2016-10-16 10:55:24 +02:00
Mark Banner
233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Julian Descottes
48f014a16d Bug 1310615 - eslint: force unix style linebreaks in devtools;r=jryans
MozReview-Commit-ID: BOmZ5vBJ3Fm
2016-10-17 11:47:03 +02:00
Greg Tatum
3e6ab7973a Bug 1291866 - Replace inIDOMUtils.cssPropertyIsValid; r=tromey
MozReview-Commit-ID: JqO4UiPHAPE
2016-09-16 08:46:51 -05:00
Patrick Brosset
a36bcc14e6 Bug 1276418 - Remove getNode and all references to it in inspector tests; r=gl
MozReview-Commit-ID: HIhOHZvtUl
2016-09-16 15:58:50 +02:00
Shubheksha Jalan
11324821fb Bug 1295556 - Use waitForClipboardPromise from shared-head.js in Inspector tests r=jsnajdr
MozReview-Commit-ID: 5fB7Wz1jLGe
2016-09-12 22:39:28 +05:30
Julian Descottes
ac4f560d9d Bug 1295608 - Migrate devtools/client/inspector/test to use l10n.js;r=pbro
MozReview-Commit-ID: Hgu4BJ6B1Ct
2016-08-25 17:17:06 +02:00
Sebastian Hengst
411d6c9c44 Backed out changeset 3c716a5a7906 (bug 1295608) 2016-08-25 14:20:10 +02:00
Julian Descottes
23f995e80f Bug 1295608 - Migrate devtools/client/inspector/test to use l10n.js;r=pbro
MozReview-Commit-ID: 7uH7CA6pPpd
2016-08-25 10:35:22 +02:00
Julian Descottes
9152165684 Bug 1293211 - part3: wait for EditorTooltip ready event in tests;r=bgrins
MozReview-Commit-ID: FbpOUrFJd3N
2016-08-08 11:22:16 +02:00
Eric Rahm
f88c2ff35a Bug 1179048 - Use mouseout instead of mouseleave in devtools. r=fitzgen
Using mouseleave in chrome code generates a warning in docshell about
performance which notes mouseout should be used instead. This patch replaces
usage of mouseleave with mouseout across the devtools codebase.
2015-07-20 12:13:00 -07:00
J. Ryan Stinnett
3b0119033c Bug 1240907 - Tunnel toolbox messages to content in RDM. r=ochameau
When you open a toolbox in RDM, it will now debug the content page, instead of
the RDM UI.

MozReview-Commit-ID: LXbVhwNVlcp
2016-07-21 12:20:55 -05:00
Gabriel Luong
48d32bdbbf Bug 1247729 - Move the box model panel into the computed styles panel r=jdescottes 2016-07-19 04:30:13 -04:00
Julian Descottes
e8c37ab34f Bug 1279703 - use theme body-color for devtools font-preview;r=pbro
MozReview-Commit-ID: 23KqLhfpWuj
2016-07-11 15:21:15 +02:00
Alexandre Poirot
7c6449f3d2 Bug 1267414 - Convert color picker, cubic bezier and filter widgets to HTML Tooltip. r=jdescottes 2016-07-11 01:26:02 -07:00
moby
e371f697b4 Bug 1278287 - Migrate the style-inspector-menu module; r=bgrins 2016-06-29 13:29:00 +02:00
Tom Tromey
a1c55e31b0 Bug 1225254 - split css-logic.js into server and shared files; r=pbro
MozReview-Commit-ID: BTFVQJcVI5d
2016-06-24 08:26:21 -06:00
Julian Descottes
df9144d00a Bug 1266456 - part2: HTMLTooltip setContent() use object as 2nd arg;r=jsnajdr
setContent expects 3 arguments: content, width, height. Height is already optional
but for the autocomplete migration, the width will also become optional.

Using an object argument for width and height makes this easier.

MozReview-Commit-ID: 9CiMG0BdLOR
2016-06-23 17:27:32 +02:00
Tom Tromey
55d301f4b4 Bug 1273941 - replace uses of promise.defer in devtools/client/inspector; r=jryans
MozReview-Commit-ID: CBKDIFYL9Ij
2016-06-09 09:05:41 -06:00
Nicolas Chevobbe
94d5c6f941 Bug 1224504 - Selecting the rule view panel should refresh the panel content. r=jdescottes
That's what the code intended to do, but it was checking an unexisting property.
This patch fixes that and adds a test to make sure changes are synced in the rule
view when editing properties in the layout view.
Move getRuleViewRuleEditor from inspector/rules/test/head to inspector/test/head in order to use
it in computed test folder. Remove the duplicated function in inspector/shared/test/head.

MozReview-Commit-ID: JbE4ppheSZC
2016-06-20 18:20:08 +02:00
Patrick Brosset
22dfd32737 Bug 1268082 - Get the list of supported CSS types for each property from the server; r=tromey
Added the list of supported types to each css property returned by the
CssProperties actor.
As a fallback, the css-properties-db static file also contains this list.
Also, if connected to a server that has the CssProperties actor but not
the data about supported types, then the type data is retrieved from the
static db too.

MozReview-Commit-ID: J1o8JGODMiC
2016-06-15 08:58:36 +01:00
Julian Descottes
2c3b0d3082 Bug 1276876 - ruleview: migrate font&image preview tooltips to HTMLTooltips;r=tromey
Migrate the previewTooltip used in the ruleview (& computedview) to use a
HTMLTooltip instance.

Helper methods from Tooltip.js have been removed, migrated to HTML and are
now in style-inspector-overlays.js (not used by any other client). Tests
have been updated to be compatible with HTML Image preview tooltips.

The behavior should be the same as before, so no new test has been added.

MozReview-Commit-ID: HuFatuPi5VM
2016-06-01 17:07:09 +02:00
Joel Maher
aadfd37353 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg a=merge
MozReview-Commit-ID: IZziPmwFtHj
2016-05-25 15:28:24 -04:00
Patrick Brosset
db875053b8 Bug 1267015 - ESLint cleanup of devtools/client/styleinspector/shared/test; r=bgrins
MozReview-Commit-ID: GKnRmlqIBxb
2016-05-13 10:16:45 +02:00
Patrick Brosset
024b6ba231 Bug 1267015 - Don't access the test content process in browser_styleinspector_tooltip-multiple-background-images.js; r=bgrins
MozReview-Commit-ID: H0kgsYzG2x0
2016-05-13 09:59:33 +02:00
Patrick Brosset
7a1b8f182c Bug 1069829 - 2 - Don't use cssPropertyIsValid in the rule-view UI, get the info from the server instead; r=tromey
- StyleRuleActors now parse declarations and send them within the form
- Each declaration also contains isValid flag
- Parsing is still done client side for old backends (back compat)
- Declarations are sent with the form, so updated every time the rule changes
- Also made StyleRuleActors send the declarations array for element styles, and made canSetRuleText true for this, since we can simply set the style attribute

MozReview-Commit-ID: 2nI4bRyvwwi
2016-04-29 09:30:02 +02:00
Julian Descottes
2a7534a928 Bug 1270462 - part1: extract devtools tooltip toggle logic to separate file;r=bgrins,jsnajdr
The code used to make the tooltip appear/disappear when hovering targets
has been extracted to a separate class that can be shared between the
current Tooltip.js implementation and the upcoming HTMLTooltip.

MozReview-Commit-ID: UYSjPFeMYK
2016-05-06 14:54:30 +02:00