Commit Graph

307 Commits

Author SHA1 Message Date
Ryan VanderMeulen
bfdd703c49 Merge fx-team to m-c. a=merge 2016-08-25 08:12:26 -04:00
Ryan VanderMeulen
520acfd195 Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Nicolas Chevobbe
816f3e9990 Bug 1297043 - Fix TableWidget selection when wrapTextInElements is true. r=jsnajdr
We were using the onMousedown event target to select a row, based on a data-id attribute of the cell node.
But when the wrapTextInElements is true, there is an extra span element inside the cell. And in this case,
we were trying to retrieve the data-id attribute on this span, which led to calling the selection function with a
null id, and thus, not selecting the row.
We fix this by retrieving the attribute from the correct node.
A test case was added in order to make sure the bug is fixed

MozReview-Commit-ID: Jcf42AZb2uk

--HG--
extra : transplant_source : %CA%8C%DA1%AEW%0C%01%F2%97%0B%E6c%3F%DF%B3E%3A-C
2016-08-22 19:25:48 +02:00
Ryan VanderMeulen
0027f8ea40 Merge m-c to fx-team. a=merge 2016-08-24 09:11:58 -04:00
Patrick Brosset
fc07e38ecd Bug 1295008 - Hide the previous eyedropper when we request to show a new one; r=miker
The eyedropper can be shown in 2 distinct ways:
- the 'eyedropper' gcli command can be called (from the dev toolboar
  or from the browser devtools menu),
- or the inspector's 'pickColorFromPage' method can be called (from
  the inspector toolbar or from the color-picker in the ruleview).

Before this change, it was possible to show several eyedropper because
these 2 codepaths didn't know about each other.
Now, when executing the gcli command, the inspector's
'cancelPickColorFromPage' method is called to hide it first.
And, when the 'pickColorFromPage' method is called, the 'eyedropper --hide'
gcli command is called too.

This way, there's only one eyedropper shown.

There was also a problem where the gcli command would create a new
eyedropper everytime it was called. This was fixed too, by maintaining a
WeakMap of all eyedroppers opened so far.

MozReview-Commit-ID: F6fBP5R7ZTJ

--HG--
extra : rebase_source : f04bbf224ced7b93b4e5b0c42662731ecc58cb58
2016-08-24 10:29:49 +02:00
Julian Descottes
d9eda2f4cb Bug 1294366 - fix filter widget select opening only once, force focus on window on click;r=ochameau
MozReview-Commit-ID: 5xcZuoRxOco

--HG--
extra : rebase_source : e755310f51db2bde134a8cb6aebcb06fdd7a16f4
2016-08-22 17:55:12 +02:00
Ehsan Akhgari
e9df83314d Bug 1297225 - Avoid calling HTMLInputElement.setSelectionRange() on <input type=number>s in the CSS filter widget code; r=pbro 2016-08-24 10:04:39 -04:00
Julian Descottes
463be2090c Bug 1294220 - part5: Remove the "chrome://" protocol when using LocalizationHelper;r=tromey
MozReview-Commit-ID: JzT8RyPhHwA

--HG--
extra : rebase_source : 515f68591ec275d4c7202e12dcc8ea06c3b4ba60
2016-08-20 21:59:34 +02:00
Julian Descottes
5f705ce337 Bug 1294220 - part1: Move ellipsis character to a localized string in properties file;r=bgrins
The ellipsis character displayed by devtools is now relying on a localized string
in devtools/client/shared.properties instead of a complex preference.

The lazy loading of the ellipsis string has been removed, the ellipsis is retrieved
once when the client/shared/l10n.js file is loaded.

The ellipsis property on the LocalizationHelper instances has been removed in favor
of an ELLIPSIS export on the l10n.js module.

All the previous callers using either LocalizationHelper::ellipsis or retrieving the
intl.ellipsis preference have been migrated to rely on the ELLIPSIS export of l10n.js

MozReview-Commit-ID: 4JG0qbJGCw9

--HG--
extra : rebase_source : b513f69a00335c63c46e085b0101ca4cf884fb08
extra : source : 9cea22b583c7d615be644dd50161902c35f2f1b7
2016-08-20 22:09:03 +02:00
Oriol
95d2d12fdd Bug 996691 - Stop ignoring empty string property names when inspecting an object. r=fitzgen 2016-08-21 18:47:00 -04:00
divyanshu
c9785dc4c9 Bug 1292998 - Replace Iterator() with Object.{entries,values}. r=jryans
Replace simple in-tree consumer of non-standard Iterator() with Object.{values,entries} in devtools/
2016-08-14 02:02:06 +05:30
Tom Tromey
6c3ffd2acd Bug 1278625 - remove some lazy loading from devtools; r=jlongster
MozReview-Commit-ID: HwV7DFVJhAF

--HG--
extra : rebase_source : 6631df9fdd4ac8537ff08562b5184345c8c42736
2016-08-05 08:46:37 -06:00
Tom Tromey
e57ee07dd5 Bug 1278625 - move XPCOMUtils use out of Tooltip.js; r=jdescottes
MozReview-Commit-ID: 77xkkxl4mqN

--HG--
extra : rebase_source : c516921b7792ae7b80a3c9523d0580accb5375d1
2016-08-05 11:15:38 -06:00
Wes Kocher
ae78ab94fa Merge fx-team to central, a=merge 2016-08-17 16:53:20 -07:00
Wes Kocher
f90f3d11fd Merge m-c to fx-team, a=merge
a=release for the webidl hook due to comment-only changes

--HG--
extra : amend_source : d988a8a774085539988d1d964c4beb2d07eecb50
2016-08-16 22:09:34 -07:00
Wes Kocher
48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Towkir Ahmed
650eda7fe7 Bug 1294840 - Fix vertical alignment of 'filter widget buttons' in devtools: css rule inspector. r=jdescottes
--HG--
extra : rebase_source : 8758c8d6ed677dd5df7c3e9e1ec59552b10a2f17
2016-08-16 09:05:00 -04:00
Towkir Ahmed
63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
Oriol
a02b231b14 Bug 997219 - When inspecting an object, do not trim property names except when displaying them. r=fitzgen 2016-08-10 16:18:00 -04:00
Tom Tromey
862ccd78d2 Bug 1292253 - replace some Ci uses in view-helpers and TableWidget; r=gregtatum
MozReview-Commit-ID: JIs4wxNA3Eg

--HG--
extra : rebase_source : d3666bb186de2667ed8f18d2e4190e74c64109da
2016-08-09 09:43:58 -06:00
Julian Descottes
6046046d91 Bug 1293211 - part2: fire ready event in SwatchBasedEditorTooltips after widget initialization;r=bgrins
Now that showing a XUL panel is asynchronous, tests need to be able to wait for the complete
initialization of the editor tooltips. Waiting for the tooltip 'shown' event is not enough
here because tooltips are also waiting for this event to start initializing their widgets.

MozReview-Commit-ID: DGTyeVrHNb

--HG--
extra : rebase_source : a99633ceb99da6dcc22dd3a5c0e737d4cfa2e36e
extra : histedit_source : 740e23053487a73c4e6d6ba97a529b2579f517d5
2016-08-09 09:22:16 +02:00
Julian Descottes
ab0f8e3bb3 Bug 1293211 - part1: wait for xul wrapper popupshown event in HTMLTooltip;r=bgrins
MozReview-Commit-ID: Gv04Fc1cfgI

--HG--
extra : rebase_source : a7562101f17dbfc0abb52960e3cdc0081d4d2eb1
extra : histedit_source : cec2442f9440e1eb0f6e6a9ecef98bb12fb2ac7f
2016-08-08 11:29:31 +02:00
Wes Kocher
005ac12647 Merge fx-team to m-c a=merge 2016-08-07 00:16:15 -07:00
James Long
0b2677dddc Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
Brian Grinstead
5a0322040e Bug 1288475 - Split webconsole utils.js into separate client and server parts;r=MattN,tromey
MozReview-Commit-ID: HlpiRvuMF1H

--HG--
rename : devtools/shared/webconsole/utils.js => devtools/client/webconsole/utils.js
rename : devtools/shared/webconsole/utils.js => devtools/server/actors/utils/webconsole-utils.js
rename : devtools/shared/webconsole/worker-utils.js => devtools/server/actors/utils/webconsole-worker-utils.js
extra : rebase_source : 6f1b2afba2c3cf3e3d17f839c11bf15e89a2f69d
2016-08-05 10:44:38 -07:00
Julian Descottes
70894bd879 Bug 1288752 - mdndocs tooltip: consistent behavior on Visit MDN Page link click;r=bgrins
MozReview-Commit-ID: Kg0yYwi4nwV

--HG--
extra : rebase_source : a794315867ab770a95c8d432dd1934bd9835efec
2016-07-25 16:50:55 +02:00
Carsten "Tomcat" Book
1e0260eddf Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Julian Descottes
2854fc10cc Bug 1289152 - Switch eyedropperOpen flag in Tooltip when picking color. r=zer0
The eyedropper gets hidden when canceled and when selecting a color.
The Tooltip should listen to both events to update its internal state flags.

MozReview-Commit-ID: KYwmybh9mRo

--HG--
extra : transplant_source : %B2%A3o%DA%8A%8A%BA%C51%84%C6gw%5D%2B%C4%E1%D9%92%84
2016-07-25 20:39:01 +02:00
Wes Kocher
45575a7f86 Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change

--HG--
extra : amend_source : e590e515ab273d097f88b35be0e5c999502ebdf4
2016-08-16 22:07:30 -07:00
Tom Tromey
bbb5d58ec6 Bug 1288147 - don't use ownerGlobal in devtools client code; r=bgrins
MozReview-Commit-ID: EgXSMILZrri

--HG--
extra : rebase_source : 8a1ec7e1458fe2b2844ba8d2e70803da4eb05199
2016-07-26 09:34:25 -06:00
Tom Tromey
7853799111 Bug 1290227 - add replacement module for DOM_VK_ constants; r=bgrins
MozReview-Commit-ID: INmMxfP8ZuL

--HG--
extra : rebase_source : 683c927aa73e08176dc36e6d518d8fdd9f7b32e5
2016-08-08 15:41:37 -06:00
Eric Rahm
120f36bc75 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
Oriol
3e28f15238 Bug 1274657 - When inspecting a proxy, show the [[ProxyHandler]] and [[ProxyTarget]] instead of executing traps. r=jlong 2016-07-23 17:39:00 +02:00
Julian Descottes
5989b201c1 Bug 1288375 - ruleview: fix invisible icons in filter widget tooltip;r=pbro
Scoped stylesheets cannot make reference to an element outside of the scope in any
part of a selector. This means a selector such as ".theme-light .scoped-element"
can not work in a scoped stylesheet.

Theme specific rules have been removed from the filter&bezier tooltip css. Instead
CSS variables defined for each theme are used in the scoped stylesheets.

MozReview-Commit-ID: 7apGbPc0CYy

--HG--
extra : rebase_source : e71f33b395b0a6d21bb4352507a3947ed2b81766
extra : amend_source : 55e0c78a006fd2b580d6d0e345c950a4e7ab472a
extra : source : 0be81bdc2e08b658f91dc05443ab15ced91025f2
2016-07-21 16:26:36 +02:00
Julian Descottes
b2d3f9f479 Bug 1288358 - restore padding around spectrum widget in colorpicker tooltip;r=pbro
MozReview-Commit-ID: BFZA3tDkoR0

--HG--
extra : rebase_source : 36b94e444691c71f0fffaa02756e7435538a2dcc
2016-07-21 11:22:36 +02:00
Patrick Brosset
2c1685206a Bug 1262439 - 8 - Re-implement telemetry in the eye-dropper; r=miker
MozReview-Commit-ID: 2XDhAb3iXdu

--HG--
extra : rebase_source : a0a6617c9e2d3663d3958d95a66f7487a5bc60a1
2016-06-09 16:02:08 +02:00
Patrick Brosset
f9d2dc2d7d Bug 1262439 - 5 - Move eyedropper btn to inspector and update gcli command; r=bgrins
This moves the eyedropper button from the toolbar into the inspector,
therefore the old eyedropper command isn't needed anymore,
or at least not as it was.
The button in the inspector simply uses the pickColorFromPage inspector
actor method.
And to preserve a eyedropper gcli command, a new simpler one was added.

MozReview-Commit-ID: B1yr1EqLFBD

--HG--
extra : rebase_source : 47c2effe193f4d1a64a8d16ea3609ff5ae1f793b
2016-07-20 16:06:42 +02:00
Patrick Brosset
a6b51dd144 Bug 1262439 - 4 - Use the new eye-dropper highlighter in the color-picker tooltip; r=bgrins
The color-picker tooltip now uses the new eye-dropper highlighter, by
using the pickColorFromPage inspector method instead of the XUL-based
eye-dropper tool.

Telemetry hasn't yet been re-implemented in the new eye-dropper highlighter
so the telemetry-related test code has been removed for now. This will be
added again in a later commit.

MozReview-Commit-ID: enSzSKHac4

--HG--
extra : rebase_source : dd5a54d149ac1872be8580660c70b8a02da9db66
2016-07-20 14:47:24 +02:00
Patrick Brosset
d2cc90ec24 Bug 1262439 - 1 - Introduce a new eye-dropper highlighter; r=zer0
This is mostly porting code from the XUL eye-dropper over to a new
highlighter file.
While I have tested this locally, this highlighter isn't yet used
in devtools.
This will come in later patches.

MozReview-Commit-ID: IF0puLu5Yc7

--HG--
rename : devtools/client/shared/css-color-db.js => devtools/shared/css-color-db.js
rename : devtools/client/shared/css-color.js => devtools/shared/css-color.js
extra : rebase_source : 72431a9148d1c688987a5693a619769837c774c7
2016-07-21 14:35:14 +02:00
Carsten "Tomcat" Book
53b9562c23 merge fx-team to mozilla-central a=merge 2016-07-22 11:56:37 +02:00
Towkir Ahmed
9e080b773b Bug 1286128 - Prevent eyedropper button from being overflown in the color picker. r=jdescottes
--HG--
extra : rebase_source : 25dcfb2d72fa9d61ce3f5c90ed2e43d8086b0c11
2016-07-21 03:19:00 -04:00
Brian Grinstead
e5d3a69c4e Bug 1113825 - Provide option to always wrap table contents into elements;r=gl 2016-07-20 15:19:07 -04:00
Luke Chang
cee31bc485 Bug 1265686 - Add PageUp/PageDown/Home/End navigation in AbstractTreeItem; r=gregtatum
MozReview-Commit-ID: 1LkKblI5ghz

--HG--
extra : rebase_source : 60fc6c0852d0e193b2de27a07dc49124540a4da6
2016-07-13 19:12:31 +08:00
Greg Tatum
e119f38a8d Bug 1261048 - Fix shortcut modifier bug with Flame Graph. r=jsantell
--HG--
extra : rebase_source : 582274ab347a66197c953c0d896b184fbf5f2978
2016-07-18 07:33:00 +02:00
Julian Descottes
5fb6669098 Bug 1287090 - HTMLTooltip: support host changes by retrieving top window dynamically;r=bgrins
MozReview-Commit-ID: 9RcM2h41DdV

--HG--
extra : rebase_source : 7990bd4ef4c519495231fc71a2176847c2dfd3cf
2016-07-15 16:30:54 +02:00
Julian Descottes
0858404198 Bug 1287438 - html-tooltip: use level=top for xul panel wrapper;r=bgrins
Using level=float seems buggy when the window to which the XUL panel is attached
changes.

MozReview-Commit-ID: HuOnMDGo38l

--HG--
extra : rebase_source : 1445dc225e2ed5b29b187aa918980f7ffeb227b4
2016-07-18 17:19:24 +02:00
Julian Descottes
9c2f3797e2 Bug 1286523 - fix autocomplete popup position in RTL locales;r=bgrins
MozReview-Commit-ID: HRC1ialFBVj

--HG--
extra : rebase_source : f5cd74d94ca82ed7bc2bcb93eacf279c4385ba00
2016-07-13 18:52:37 +02:00
Julian Descottes
50dbb87670 Bug 1286553 - HTMLTooltip: consume only left click events;r=bgrins
MozReview-Commit-ID: Hr0Lwv8Zx5C

--HG--
extra : rebase_source : 5464c3881db5ad0413cb3ca3a8103c88d970d851
2016-07-14 16:13:11 +02:00
Julian Descottes
029b4e9398 Bug 1284259 - store eventEditors map on EventTooltip instance to fix destroy failures;r=ochameau
MozReview-Commit-ID: XbahMTzqUA

--HG--
extra : rebase_source : 13b5881c998a4a6b4f6b6b016a11bbf08a5b21ae
2016-07-13 15:52:07 +02:00
Julian Descottes
6bc3c91358 Bug 1283454 - migrate MDN docs tooltip to use HTML;r=ochameau
MozReview-Commit-ID: 50DceNmgGAQ

--HG--
extra : rebase_source : 669214f693c863eab72c24d3be9936fc049dd365
2016-07-05 14:39:52 +02:00
Nancy Pang
6c2a980a72 Bug 1273211 - Add side panel enter and return controls, added keyboard space selection for controls in netmonitor and console key. r=pbro
MozReview-Commit-ID: HGGTeshLBDs

--HG--
extra : transplant_source : e%0A%19%0B%96%8F%11%8B%E8%3A%DA%7B%06%C0n%9C%09-TU
2016-07-12 14:10:57 -04:00
Julian Descottes
d1025c9eea Bug 1285206 - Enable xul panel for some devtools tooltips;r=bgrins
Set useXulWrapper to true for markup view image previews and rule view
tooltips.

Also slightly changed the logic in HTMLTooltip.js so that useXulWrapper is only
true when we are in a XUL context.

MozReview-Commit-ID: 9EkQYLLAn7C

--HG--
extra : rebase_source : 5b096345c087a85f3c66fdca639287196e22775c
2016-07-08 15:46:42 +02:00
Julian Descottes
6dbdb73654 Bug 1285206 - Use type=arrow for xul panel wrapper in HTMLTooltip;r=bgrins
MozReview-Commit-ID: I1DCXbl05b6

--HG--
extra : rebase_source : cda1c15be67a09fb4be3a11f8b2967de031eb122
2016-07-12 17:24:53 +02:00
Julian Descottes
5330514c42 Bug 1284461 - HTMLTooltip: use variable height only if height==Infinity;r=bgrins
MozReview-Commit-ID: LTraHLeEEp4
2016-07-05 14:35:15 +02:00
Alexandre Poirot
c660dc1021 Bug 1267414 - Convert color picker, cubic bezier and filter widgets to HTML Tooltip. r=jdescottes
--HG--
rename : devtools/client/themes/spectrum.css => devtools/client/shared/widgets/spectrum.css
2016-07-11 01:26:02 -07:00
Alexandre Poirot
0f4f5e6448 Bug 1267414 - Apply scoped stylesheet to HTMLTooltip container. r=jdescottes 2016-07-11 01:26:02 -07:00
Julian Descottes
d03c3018a5 Bug 1266456 - part9: use HTMLTooltip for autocomplete-popup;r=bgrins
Modify the devtools autocomplete-popup to rely on a HTMLTooltip instance
instead of a XUL panel.

Other than the straightforward migration to HTML, the main difference with
the new implementation is that the richlistbox has now been replace with a
simple HTML list element. The former XUL widget used to be able to take the
focus from the input it was linked to.

This is no longer the case. Most autocomplete users were always keeping the
focus in the input, except for the inspector-search, which was moving the
focus back and forth between the input and the autocomplete's richlistbox.
Now the focus is always in the input. A practical example to illustrate how
this changes the UX: before when the user had the focus on the first element
of the list, pressing "DOWN" would keep the element selected but visually move
the focus in the input. Now the selection simply cycles to the next item.

Even though this introduces a difference in behaviour compared to the previous
implementation, it makes the inspector search UX consistent with the other
autocomplete widgets used in devtools.

Another difference is about the display for the inspector-search. The position
of the autocomplete popup used to be above the input. This is now impossible to
achieve because the search input is at the top of the toolbox and the HTML tooltip
can not exceed the limits of the toolbox.

For this #2 issue, either we manage to use XUL panel wrappers, in which case, the
autocomplete will be displayed as it used to. Or we can invert the order in which
items are inserted and explicitly ask for the autocomplete to be displayed below the
input. I prefered not to change this here in order to make the code change easier to
understand, but it should be addressed in a follow-up.

MozReview-Commit-ID: jH9aXm9Jvz

--HG--
extra : rebase_source : 57267be0d214ed807f3152838c4123400ab7b7e3
2016-07-07 16:32:42 +02:00
Ruturaj
6a39600b18 Bug 1253195 - Separate filter and search boxes visually, and make the text styling consistent. r=ntim
MozReview-Commit-ID: 1KZQA9X44Qi
2016-07-08 23:03:00 +02:00
Julian Descottes
df13b10281 Bug 1285189 - change default value of HTMLTooltip:useXulWrapper to false;r=ochameau
MozReview-Commit-ID: 4uEqkVbqcsC

--HG--
extra : rebase_source : 384969e88f8fb3ed23187c12d305acc113cf6a2c
2016-07-07 11:57:29 +02:00
Julian Descottes
3aa417586a Bug 1267403 - HTMLTooltip: add useXulWrapper option when displayed in a XUL document;r=ochameau
The HTMLTooltip supports an additional configuration parameter "useXulWrapper".
When set to true, if the tooltip is displayed in a XUL document, a XUL panel
will be used as an additional container for the tooltip.

This allows the tooltip to be displayed anywhere on the screen and can be
useful when displayed in small toolboxes.

MozReview-Commit-ID: 63kv4vAeW5R

--HG--
extra : source : fc4d902ff01ee92a5b6742d44286e5feaaba1500
extra : intermediate-source : 126f43ff3be5505920946a77ad82401c6bbaebef
extra : histedit_source : 863888c014723f7e95742079395497ba1a30aa36%2C13ba9aaf80acb96c587739c767c20a8f0f6a9a5a
2016-07-06 14:50:44 +02:00
Jan Odvarko
86677d02a2 Bug 1266420 - Implement SidebarToggle component; r=bgrins 2016-07-04 16:47:48 +02:00
Jarda Snajdr
9d2f86c967 Bug 1231445 - Part 1: Support more key types in TableWidget r=mratcliffe 2016-07-04 04:09:00 +02:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
djmdev
aa478becf5 Bug 1283072 - replaced png icon reference with svg icon reference in image url of .remove-button; r=jdescottes 2016-06-29 23:33:01 +05:30
Greg Tatum
8b9104efd4 Bug 1261477 - Make values of long watch expressions visible r=jlongster 2016-06-20 08:47:00 +02:00
Philipp Kewisch [:Fallen]
b3be6df2f8 Bug 1279833 - Make less use of gBrowser and content tabs in devtools. r=jwalker 2016-06-28 11:07:09 +02:00
Philipp Kewisch
a07ebf7178 Bug 1279784 - Remove hardcoded navigator:browser in devtools. r=jryans 2016-06-28 11:03:11 +02:00
Julian Descottes
35b0ed34db Bug 1266456 - part6: HTMLTooltip show() now accepts x,y offsets;r=bgrins
The autocomplete popup is displayed relatively to an anchor, but will be
shifted on the x-axis in order to be aligned with the word being completed.

To support this, the HTMLTooltip show() method now accepts x and y offsets.

MozReview-Commit-ID: 1cR3XFPdcVy

--HG--
extra : rebase_source : 0aa84be9afe977c52bffad2eb37eb35813d8a17a
2016-06-20 21:07:08 +02:00
Julian Descottes
fa6cf14cb1 Bug 1266456 - part5: HTMLTooltip setContent() support "auto" width parameter;r=bgrins
The autocomplete popup defines its width by finding the longest label
to display and then applying a "width:Xch" to its content, where X is
the length of the longest label + 3.

In order to support this, the HTMLTooltip setContent() methods allows to
use width: "auto" (which also becomes the default value). In this case,
the HTMLTooltip show() method will automatically compute the preferred
width for the tooltip. It will first calculate the tooltip height, then
measure the width of the tooltip for this computed height and use it as
the preferred width.

MozReview-Commit-ID: KDxZNB3KDdR

--HG--
extra : rebase_source : 8ceedd73434551050f8d63cbf03d66870e275b03
2016-06-23 17:30:50 +02:00
Julian Descottes
31b8edef38 Bug 1266456 - part4: HTMLTooltip support XUL docs using page instead of window;r=ochameau
Some test documents are using a <page> object instead of a <window> object.
When inserting the tooltip container  inside of the document, the HTMLTooltip
will now insert the container in the documentElement

MozReview-Commit-ID: F57vP2lfvrg

--HG--
extra : rebase_source : 5f99c4c139fed9a9893a98a5de2c4c3e76c753da
2016-06-22 19:44:59 +02:00
Julian Descottes
af06507c7b Bug 1266456 - part3: HTMLTooltip show() clear timeout to avoid window leaks;r=jsnajdr
When calling HTMLTooltip::show() consecutively, we were leaking a window object.
The timeout responsible for attaching the click event on window is now cleared
before attaching a new one.

MozReview-Commit-ID: 3ccIHM2QNlp

--HG--
extra : rebase_source : 645e761b8fa562bfa5b8e4abe3412ef52c03c62e
2016-06-24 16:47:01 +02:00
Julian Descottes
718a901bda 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

--HG--
extra : rebase_source : 4ec54714ccc2476fa4b341aaad3773ba095cca5a
2016-06-23 17:27:32 +02:00
Julian Descottes
4ce7004bfb Bug 1266456 - part1: HTMLTooltip cleanup test & jsdoc for synchronous setContent;r=jsnajdr
MozReview-Commit-ID: Ia3aRmwFawP

--HG--
extra : rebase_source : 6a569ffd14264ff8c680e5fc8f8cf6eae4ff5877
2016-06-22 15:18:21 +02:00
Tom Tromey
16d4051c4f Bug 1273941 - replace uses of promise.defer in devtools/client/shared; r=jryans
MozReview-Commit-ID: K5P4eB0XPT9

--HG--
extra : transplant_source : %EB%27%9C%FE%80N%8D%13E%C0%7B%B7%F0_%A5%CCJ%5D%FC%8F
2016-06-09 09:04:22 -06:00
Jarda Snajdr
5ab0872067 Bug 1277264 - Part 2: Remove setImageContent method from Tooltip.js r=jdescottes
--HG--
extra : rebase_source : a313841f78e97805da871ecd8427ec2153c62c56
2016-06-12 12:01:00 +01:00
Julian Descottes
7bd66d252a Bug 1279441 - fix HTMLTooltip closing after click on inner iframe;r=bgrins
MozReview-Commit-ID: EggheTpU2y3

--HG--
extra : rebase_source : 5c6a678776292446aeb36a0555f89a5e943d252e
2016-06-10 11:24:04 +02:00
J. Ryan Stinnett
ca7fb511f8 Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
A few miscellaneous linting issues also addressed near the lines involved.

MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
Julian Descottes
94777feb05 Bug 1266450 - part7: fix html tooltip autofocus behavior;r=bgrins
For autofocus tooltips, we need to find a focusable item in order
to call focus() now that the tooltip content lives in the same
document as the toolbox. Updated the corresponding test and made
some superficial changes to HTMLTooltip.js.

MozReview-Commit-ID: L61eIxgFm3d

--HG--
extra : rebase_source : dae55ebb8c888638b902aec000cce2ef0631ca04
extra : source : c3ef26c17be6ef971f834c38d9aa69edc767d10c
2016-06-08 13:32:15 +02:00
Julian Descottes
0f7dbc517b Bug 1266450 - part6: migrate EventDetails tooltip;r=bgrins
For now this is a 1 to 1 migration of the existing Tooltip
helper method from XUL to HTML.

MozReview-Commit-ID: 9YiJLgibV9h

--HG--
extra : rebase_source : af428055060a105d270d70b1e4694717e0869b2b
extra : source : d03cca0c048c9ba1f3062519650e37ae986d4bc7
2016-05-31 11:25:43 +02:00
Julian Descottes
632539b70d Bug 1266450 - part4: allow tooltips to have a variable height;r=bgrins
With this changeset the tooltip's effective height can be smaller than
the height specified when calling setContent. If the tooltip content is
dynamic, this allows to display a small tooltip frame if the content is
collapsed, and a bigger tooltip frame when it is expanded.

MozReview-Commit-ID: 44vA0Rdz62m

--HG--
extra : rebase_source : 0e796f611e3462579f6e84a25671e5d44ed2314d
extra : source : 8583ea99abef8f25a1822178bab823f9fb7f2d01
2016-06-03 12:52:59 +02:00
Julian Descottes
14ed6c99b4 Bug 1266450 - part3: fix helper to check if click occurred in tooltip;r=bgrins
The existing helper checking if a click occurred inside or outside a
HTMLTooltip container was failing if the click occurred in an iframe.

MozReview-Commit-ID: 9AIACOukYUF

--HG--
extra : rebase_source : e10ce05610e9a630ed1d9ba8a3f70b3344dffe9e
extra : source : 978c01749bdc4012f010db5fe09b0f8a402a9c0e
2016-06-03 12:50:39 +02:00
Julian Descottes
b46591f37c Bug 1266450 - part2: remove iframe container for HTML tooltip;r=bgrins
In order to have tooltips with a variable height, the tooltip container
should be allowed to resize itself on the fly, which cannot be achieved
with an iframe.

This changeset makes the HTMLTooltip rely on a HTML container inserted
in the XUL document directly. This allows to go back to a synchronous
API which also simplifies the implementation.

MozReview-Commit-ID: EDcsnVSKmeU

--HG--
extra : rebase_source : 80a22bc558468b69ff099602ab2364a55bcdd2f7
extra : source : 1794dbc179a093b26d06eadc18086c8f138dc008
2016-05-30 23:02:58 +02:00
Julian Descottes
1ca2f2fb1f Bug 1277906 - part2: focus previous active element when hiding HTML Tooltip;r=bgrins
MozReview-Commit-ID: GuiwOlZyyik

--HG--
extra : source : aec5a5b10c5adfcdf7941c2edad83cdee55cd06a
2016-06-04 00:40:37 +02:00
Julian Descottes
bb539d2da2 Bug 1277906 - part1: change HTMLTooltip default autofocus value to false;r=bgrins
Given the current usage of the HTMLTooltip, I think having the autofocus as
an opt-in behavior makes more sense.

MozReview-Commit-ID: CS98szSKQdF

--HG--
extra : source : 626c5812f1602a257a1065a842d3f025f85452aa
2016-06-03 21:15:54 +02:00
James Long
e4aeb1c9ee Bug 1265854 - replace uses of nsiDOMNode constants in devtools frontend r=tromey 2016-06-03 09:47:58 -04:00
Julian Descottes
8e32fa1b37 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

--HG--
extra : rebase_source : cc0f0af816c9d2a276f595120210e1e5f0197039
extra : amend_source : a6390ffac7dff0325a96be6f884b344db621b439
2016-06-01 17:07:09 +02:00
Jarda Snajdr
ef33641651 Bug 1270111 - Part 1: TooltipToggle doesn't hide the tooltip when mouse is over, shows and hides after a short delay. r=jdescottes 2016-05-27 05:09:00 +02:00
Alexandre Poirot
935347227d Bug 1270179 - Improve performances when inspecting big typed arrays in the console. r=jsnajdr,ejpbruel 2016-05-26 09:12:17 -07:00
Ryan VanderMeulen
7f2b5f3f3a Merge fx-team to m-c. a=merge 2016-05-26 11:21:20 -04:00
L. David Baron
792af6db64 Bug 1272857 - Fix some tree performance tests to read/write element.style.marginInlineStart instead of just element.marginInlineStart. r=gregtatum
This is a followup to bug 1111440.

MozReview-Commit-ID: BHCexWmrHoT
2016-05-25 16:30:20 -07:00
Julian Descottes
ba25739323 Bug 1267401 - part3: Create arrow style for HTML tooltips;r=bgrins
MozReview-Commit-ID: Bp2RylafolP

--HG--
extra : rebase_source : 9c13d93999265296d3ceb1fb3d3e58542650290a
extra : intermediate-source : 36ba78da21e53f729898696e39a939db54e4958c
extra : source : 6ee4fe593a89fc2e49a49a1b2a19f518e29b9c22
2016-05-16 17:53:19 +02:00
Julian Descottes
cef3cdb93f Bug 1266448 - part3: use HTML tooltip for markupview image previews;r=ochameau
MozReview-Commit-ID: E45sJPVAsxj

--HG--
extra : rebase_source : 9c53b19c1b9b4a7e62cb391f9c5744b4d695d2d2
extra : amend_source : 055967d755c82e33667f4a946e6a2fb57b861d40
2016-05-15 14:45:51 +02:00
Patrick Brosset
3d6dea90e7 Bug 1270186 - Move css-parsing-utils.js from devtools/client to devtools/shared; r=tromey
MozReview-Commit-ID: 75Yq1X4YjjJ

--HG--
rename : devtools/client/shared/css-parsing-utils.js => devtools/shared/css-parsing-utils.js
extra : rebase_source : da47aaa4e0baba88e401be053869f99a81ac15c4
2016-05-23 14:03:12 +02:00
Julian Descottes
b8735e8a36 Bug 1267401 - part1: Rename HTMLTooltip properties for backward comp with Tooltip;r=bgrins
Rename document -> doc for consistency and parent to panel
for test compatibility.

MozReview-Commit-ID: KHT7plLtNQc

--HG--
extra : rebase_source : 3860dcef5daac2d4b2c4475043e85b7548b255a9
extra : intermediate-source : af95214eecb280ed4ad858ce6b62a3fe5d3f6a7f
extra : source : 887cbcaf18e70bc12a51b8dbdb1e9fe4aee44385
2016-05-23 22:49:21 +02:00
Tom Tromey
50ab4ddfdd Bug 1270994 - Fix ESLint errors in devtools/client/shared/*.js; r=jryans
MozReview-Commit-ID: 1od43gBnUq1
2016-05-19 08:35:45 -06:00
Tom Tromey
0d398a243a Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ

--HG--
rename : toolkit/modules/Task.jsm => devtools/shared/task.js
extra : transplant_source : %B8h%8A%8C%BD%91%8A%81%1D%F4%F5%2Ap%CFv%BC%963u0
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett
30b2b7ce44 Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Oriol
f89810963d Bug 1273235 - When inspecting a property, check if the descriptor is undefined before attempting to access its value r=ejpbruel 2016-05-17 12:04:23 -07:00
Alexandre Poirot
9f0ddbd261 Bug 1266828 - Convert ViewHelpers.jsm into a module. r=tromey
--HG--
rename : devtools/client/shared/widgets/ViewHelpers.jsm => devtools/client/shared/widgets/view-helpers.js
2016-05-16 03:13:30 -07:00
Phil Ringnalda
2be4cee4d3 Merge f-t to m-c, a=merge 2016-05-14 13:04:50 -07:00
L. David Baron
55b6b3268e Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00
Tom Tromey
8493b659d3 Bug 1266840 - Define XMLHttpRequest in devtools loader. r=jryans
MozReview-Commit-ID: 5F2UlTlzx1R

--HG--
extra : transplant_source : %A3%F20%C8%BE%3F%19%C1%F8%A2%A9%FFF3%BBr%8E%95%B0%F5
2016-05-12 13:51:51 -06:00
Nikhil Handa
bbae341c72 Bug 1014533: Moved spectrum.css to /client/themes/ from /client/shared/widgets and changed the respective references made to it. r=helenvholmes
MozReview-Commit-ID: 5R1KAmzQ6Ss

--HG--
rename : devtools/client/shared/widgets/spectrum.css => devtools/client/themes/spectrum.css
2016-05-09 19:56:24 +05:30
Julian Descottes
b873e263bd Bug 1259834 - Create basic HTML tooltip API;r=bgrins
First implementation of HTML based tooltip to be used in devtools
instead of XUL panels. API is similar to the current API of
Tooltip.js

MozReview-Commit-ID: 8njiKBubLSj

--HG--
extra : rebase_source : 930bf7aef48e6c16d7a560d261e2bfd06fe02a63
extra : source : 09874a1e6f2c942a1f9de827fedd14da7e67a6e5
2016-05-04 14:44:57 +02:00
J. Ryan Stinnett
e1b9ca77b0 Bug 1270619 - Add missing imports instead of using globals. r=pbro
MozReview-Commit-ID: 28Xn7N9FSZr
2016-05-09 13:35:09 -05:00
Julian Descottes
d5cacd95b1 Bug 1181717 - add tooltip=aHTMLTooltip to Tooltip.js iframes;r=pbro
MozReview-Commit-ID: 8A28hbquBHB

--HG--
extra : rebase_source : e7a9e190ede67b87f9a45174573bc97d2e93d1f3
2016-05-06 19:55:02 +02:00
Julian Descottes
df759845bc Bug 1270462 - part2: tooltip toggle callback can resolve(false);r=bgrins,jsnajdr
Previously, the targetNodeCb used in TooltipToggle had an inconsistent API. If
returning synchronously, "false" would prevent the tooltip from appearing.
However, if using a promise, resolving "false" would still show the tooltip.
It was needed to reject the promise in this case to prevent the tooltip from
being displayed.

This commit makes TooltipToggle always expect a consistent return value from
this callback, whether it is synchronous, or using promises.
- true -> show the tooltip on the event target
- DOM node -> show the tooltip on the provided node
- false (or falsy value) -> do not show the tooltip

MozReview-Commit-ID: 7PIPwBJxjWO

--HG--
extra : rebase_source : 279bab30f631a3a65a93b52226c6980210abf2f1
2016-05-05 20:25:08 +02:00
Julian Descottes
87fe331949 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

--HG--
extra : rebase_source : 5dcca2d5887ffc98fec621092640073a0909c13f
2016-05-06 14:54:30 +02:00
James Long
e87387e53d Bug 1265775 - replace Cu.reportError with console.error in devtools client code r=tromey 2016-05-06 11:29:10 -04:00
Tom Tromey
b266a392fe Bug 1265787 - Add javascript CSS lexer to devtools. r=pbro
MozReview-Commit-ID: BgbACHTTMtX

--HG--
extra : transplant_source : %0B%F5%A3%AE%D8U%AB%5D%DF%D4%8A%90%21%22%0E%C6%BDW%06%88
2016-04-29 11:21:22 -06:00
Tom Tromey
08f3ad3f7b Bug 1265876 - don't directly use Timer.jsm or timers.js in devtools; r=ochameau
MozReview-Commit-ID: HzbnNvTc5db
2016-05-04 08:02:03 -06:00
Carsten "Tomcat" Book
b64ae72562 Backed out changeset f54c4f5fd0ed (bug 1265787) 2016-05-04 12:27:37 +02:00
Tom Tromey
4383c1a8b1 Bug 1265787 - add javascript CSS lexer to devtools; r=pbro
MozReview-Commit-ID: BgbACHTTMtX

--HG--
extra : transplant_source : %A3iN%27%23%04g%91%06%2CsB%24%ABA%E9%81%D2%EA%8C
2016-04-29 11:21:22 -06:00
Tom Tromey
3ab72b1e0f Bug 1266842 - move css-color.js to devtools/client/shared; r=pbro
MozReview-Commit-ID: 9zS1Y4Ape2u

--HG--
rename : devtools/shared/css-color.js => devtools/client/shared/css-color.js
rename : devtools/shared/tests/unit/test_cssColor.js => devtools/client/shared/test/unit/test_cssColor.js
extra : rebase_source : fb9efd824bd025af2208b9d860f44ec67ece3de2
2016-04-28 08:41:40 -06:00
Carsten "Tomcat" Book
bba206d411 Backed out changeset 797e8190073f (bug 1265876) for memory leaks in browser_markup_mutation_02.js 2016-04-28 08:13:42 +02:00
Tom Tromey
ed07ccffa3 Bug 1265876 - don't directly use Timer.jsm or timers.js in devtools; r=ochameau
MozReview-Commit-ID: HzbnNvTc5db
2016-04-21 11:20:14 -06:00
Jarda Snajdr
ba42a6a32a Bug 1205123 - Part 2: TreeWidget.js - set 'empty' attribute to parent when last child is removed. r=mratcliffe 2016-04-25 04:31:00 +02:00
Gabriel Luong
9979406b4a Bug 1266100 - [ESLint] Fix ESLint issues in devtools/client/shared/widgets/Spectrum.js r=tromey 2016-04-20 11:50:44 -04:00
Jarda Snajdr
6338be692e Bug 1263906 - When starting to edit a storage inspector field, it scrolls away from the view. r=mratcliffe 2016-04-18 04:22:00 +02:00
Jarda Snajdr
4840f48bea Bug 1231434 - Add 'Delete All' context menu entry to storage inspector. r=mratcliffe 2016-04-11 01:21:00 +02:00
Sebastian Hengst
6eb8698b63 Backed out changeset a4c47419ac3f (bug 1231434) for eslint failures (no space after generator star, backquotes instead of doublequotes used). r=backout 2016-04-10 20:13:07 +02:00
Jarda Snajdr
71704881a4 Bug 1231434 - Add 'Delete All' context menu entry to storage inspector r=mratcliffe
MozReview-Commit-ID: 4YNXmhtriRS
2016-04-09 01:45:00 +02:00
Tim Nguyen
04ae3e6295 Bug 1261430 - Update paths to eyedropper icon. r=pbro
MozReview-Commit-ID: HBsk1gzDy53

--HG--
extra : rebase_source : 7e0be66d81d1b6d9c3439a1232874f69c7699174
2016-04-02 17:58:52 +02:00
Jarda Snajdr
fa77abb20d Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe
MozReview-Commit-ID: AWgZDbQ22ec
2016-04-04 07:56:00 +02:00
Carsten "Tomcat" Book
9b0388886d Backed out changeset 43360777775c (bug 1231437) for test failures in browser_misused_characters_in_strings.js 2016-04-04 16:07:03 +02:00
Jarda Snajdr
7cefe9760c Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe
--HG--
extra : rebase_source : d510dd4986817f8f97896d64dd377b3affcf916a
2016-04-04 03:42:00 +02:00
Carsten "Tomcat" Book
174dee8f80 Backed out changeset 64f6fc285131 (bug 1231437) for test failures in browser_storage_cookies_edit.js
--HG--
extra : rebase_source : ecb08214d01f5743a84316ae03529a9c73b4e40f
2016-04-01 15:53:12 +02:00
Jarda Snajdr
cc61dccc0d Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe
--HG--
extra : rebase_source : 9fa5cccee28309f9da368275f6cb80f684aaa39f
2016-04-01 05:11:00 +02:00
Michael Ratcliffe
59c75885f7 Bug 1231155 - Make localstorage entry rows editable via double-click in storage inspector r=pbro
MozReview-Commit-ID: 9SjhR1n5AYG

--HG--
extra : rebase_source : 1ca3cb5f79a3420a3d0735ca4558e1f90eeff6b2
2016-03-18 17:09:52 +00:00
Carsten "Tomcat" Book
d614afde81 Backed out changeset 66f61a656571 (bug 1231437) for test failures in browser_storage_cookies_edit.js 2016-04-01 09:27:58 +02:00
Jarda Snajdr
462e493707 Bug 1231437 - Storage Inspector: context menu to remove cookie/storage item r=mratcliffe a=kwierso
MozReview-Commit-ID: ETmjp8jjQ6z
2016-03-31 16:14:15 -07:00
Jarda Snajdr
577efe7928 Bug 1172920: DevTools: Map/Set entries should be visible in the Variables view r=vporof,tromey a=kwierso
MozReview-Commit-ID: HzwnqO1uQ4o
2016-03-31 16:12:38 -07:00
Michael Ratcliffe
d1d9e7893b Bug 1235350 - Storage Inspector needs a simplified inline editor r+pbro
MozReview-Commit-ID: DBfeUEKQNly

--HG--
extra : rebase_source : 31fba0dd2a9bbe5ca5084f1b5da81bbeb04fecdc
extra : amend_source : 4bcf6fe802bbcb9e353556d39b8790a316aefb77
2016-03-01 22:47:31 +00:00
Victor Porof
6f934638aa Bug 1258309 - Pull ViewHelpers.Prefs into its own module, r=jsantell 2016-03-22 10:17:21 +01:00
Victor Porof
1cfbac47ef Bug 1258305 - Update all occurences of ViewHelpers.L10N and MultiL10N to use the new module, r=jsantell 2016-03-22 10:17:21 +01:00
Victor Porof
a994b4a225 Bug 1258305 - Pull ViewHelpers.L10N, MultiL10N into their own module, r=jsantell 2016-03-22 10:17:20 +01:00
Victor Porof
8dd039677b Bug 1258302 - Create a categories module instead of placing everything in global.js, r=jsantell 2016-03-22 10:17:20 +01:00
Jarda Snajdr
65e076156d Bug 1255734 - DevTools: Inspecting a primitive value in console throws a TypeError. r=vporof
--HG--
extra : rebase_source : c10241573f3ca5f5ecbbb040a24f551d0a848f0d
2016-03-11 01:33:00 -05:00
Tim Nguyen
74c6f50e80 Bug 1253072 - Small bug fixes to the Storage Inspector functionality. r=miker
MozReview-Commit-ID: 7s1Ua2ecy0I
2016-03-02 14:52:00 -05:00
Jordan Santell
677cbcffcd Bug 1251084 - Remove WebConsoleUtils.abbreviateSourceURL with source-utils function. r=linclark 2016-03-01 14:32:11 -08:00
Tim Nguyen
893c77ce54 Bug 1224115 - Properly refresh zebra stripes in the table. r=mratcliffe
MozReview-Commit-ID: 9NTle8ePKqt
2016-03-01 16:57:49 +01:00
Tim Nguyen
0a04dd9273 Bug 1224115 - Fix keyboard navigation for filtered TableWidget. r=mratcliffe
MozReview-Commit-ID: C5nwTOZgHGu
2016-03-01 16:57:48 +01:00
Tim Nguyen
cbe567737b Bug 1224115 - Don't flash rows when they're unhidden. r=mratcliffe
MozReview-Commit-ID: DkkKESGzlQx
2016-03-01 16:57:48 +01:00
Tim Nguyen
b7e7dbcc84 Bug 1224115 - Allow filtering the storage inspector table. r=mratcliffe
MozReview-Commit-ID: F173MKBq33k
* * *
[mq]: foo

MozReview-Commit-ID: F3qkOclXklo
2016-03-01 16:57:48 +01:00
Julian Descottes
b39b687b87 Bug 1189492 - part1: support horizontal collapsing in ViewHelpers togglePane;r=vporof
MozReview-Commit-ID: 1Hj8vrZhKKq

--HG--
extra : rebase_source : e029385a935721e287299d11ed33307fc4a2fd99
2016-02-26 00:31:34 +01:00
Alexandre Poirot
d3b05e8c5a Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
Michael Ratcliffe
1ee39b0945 Bug 1248563 - eslint cleanup of storage inspector code r=pbrosset
--HG--
extra : rebase_source : f9acfe711678f232e60beb2452a69218484dc013
extra : amend_source : 6ff3261de332d8123b1bce6fcf8f75e04321a95a
2016-02-16 16:12:55 +00:00
Brian Grinstead
ad34c237e8 Bug 1246733 - Remove stylesheet references of 'devtools/skin/common.css' and instead import it in theme files;r=ntim,r=ochameau
MozReview-Commit-ID: AwS9aJ4dypm
2016-02-16 16:10:25 -08:00
Victor Porof
28b8bbfbd3 Bug 1120623 - Make the flamegraph keyboard accessible, r=jsantell 2016-02-09 13:45:37 +02:00
Shivang Nagaria
45157ed060 Bug 768469 - [gcli] implement a "mdn" command. r=pbrosset 2016-01-23 02:59:00 +01:00