Commit Graph
200 Commits
Author SHA1 Message Date
Greg Tatum 4e62012256 Bug 1303748 - Fix color cycling in CssColor by adding more HSL precision; r+tromey r=tromey
MozReview-Commit-ID: EtNj5IdOnKr
2016-09-28 09:31:26 -05:00
Wes Kocher 8175faf758 Backed out changeset b974a64f96bc (bug 1303748) for browser_css_color failures a=backout 2016-09-29 17:50:40 -07:00
Greg Tatum d2262b1f43 Bug 1303748 - Fix color cycling in CssColor by adding more HSL precision; r=tromey
MozReview-Commit-ID: GkBr7Jq1mex
2016-09-28 09:31:26 -05:00
Brian Grinstead c2fe846abb Bug 1306124 - Getting tests outside of webconsole/ to work when the new output area is on by default;r=linclark
MozReview-Commit-ID: Gva7BnXw9PL
2016-09-28 14:29:16 -07:00
Greg Tatum 3e6ab7973a Bug 1291866 - Replace inIDOMUtils.cssPropertyIsValid; r=tromey
MozReview-Commit-ID: JqO4UiPHAPE
2016-09-16 08:46:51 -05:00
Alexandre Poirot e689948770 Bug 1303288 - Pass the window object instead of current scope to prevent wrapper issues when using the devtools reload addon. r=jlongster
If we happen to pass the current scope (`this`), the browser-loader codebase fails
when passing it as sandboxPrototype. It only works when passing an xray wrapper.
The document scope happen to not be an xray when using the addon, whereas `window`
always is no matter if we are using the addon or not.

MozReview-Commit-ID: GjYHkaCGBDd
2016-09-21 08:07:02 -07:00
Iris Hsiao b29850c5e7 merge fx-team to mozilla-central a=merge 2016-09-26 18:29:38 +08:00
Patrick Brosset 215c6c8851 Bug 1304679 - Box-model highlighter now highlights text nodes; r=gl
MozReview-Commit-ID: 8gZvTE1tZuH
2016-09-23 09:57:37 +02:00
Tom Tromey d9f7205500 Bug 1301692 - remove comment when deleting disabled property; r=pbro
MozReview-Commit-ID: I52zX7js9Ua
2016-09-21 11:23:01 -06:00
Tom Tromey 227949c77d Bug 1303826 - don't select upper-case color names by default; r=gregtatum
MozReview-Commit-ID: 6XfK1aPhSxx
2016-09-20 14:46:39 -06: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
Greg Tatum 0fc28c2ff3 Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8
2016-09-14 10:00:27 -05:00
Sebastian Hengst 93c9c62451 Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout 2016-09-13 17:43:44 +02:00
Greg Tatum 36e0a1b1fa Bug 1290988 - Collect devtools/shared/css-* files into a folder; r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8
2016-08-29 11:02:34 -05:00
Tom Tromey 656c47ee51 Bug 1301078 - correctly disable pasted commented-out properties; r=pbro
MozReview-Commit-ID: 97ueaqvYVVN
2016-09-07 11:08:12 -06:00
Matteo Ferretti 23614cda77 Bug 1254385 - Apply dPR from selected device; r=jryans
- dPR and media queries are now reflecting the selected device's dppx
- added unit test

MozReview-Commit-ID: 9634mleTwkS
2016-08-31 09:58:26 +02:00
Julian Descottes e26ea41cc2 Bug 1300458 - fix linting errors in browser_key_shortcuts.js;r=ochameau
MozReview-Commit-ID: 85VRaDe8Vxf
2016-09-06 10:38:40 +02:00
Julian Descottes d4911099bc Bug 1300458 - devtools key shortcuts fix shift+cmd shortcuts on OSX;r=ochameau
MozReview-Commit-ID: Aq6cFkF86Qa
2016-09-06 11:43:11 +02:00
Alexandre Poirot 35acaa9d89 Bug 1298082 - Replace toolbox.frame usages with equivalents around toolbox.win. r=jryans
MozReview-Commit-ID: ClpBWEZbKq1
2016-08-30 06:42:25 -07:00
Wes Kocher 49b7e19e6a Merge m-c to autoland, a=merge 2016-08-30 18:15:33 -07:00
Tom Tromey 8191613ead Bug 1297890 - don't allow token pasting in parseDeclarations; r=pbro
MozReview-Commit-ID: ASs3ldqxMoI
2016-08-29 08:16:22 -06:00
Sunny a64f0d693b Bug 1205845 - Implement telemetry measure to track toolbox docking setting; r=jryans p=bsmedberg
MozReview-Commit-ID: 7Zl1ggZDbde
2016-08-30 10:19:29 -05:00
Julian Descottes 3479010529 Bug 1298012 - update references to devtools/client/shared/l10n -> devtools/shared/l10n;r=bgrins
MozReview-Commit-ID: 6p5ADjlbsHu
2016-08-25 17:02:50 +02:00
Jason Laster ccee69ac4b Bug 1296380 - Key Shortcuts should handle function keys. r=jlongster 2016-08-18 14:36:47 -04:00
Nicolas Chevobbe 5dda88289f 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
2016-08-22 19:25:48 +02:00
Julian Descottes 91ae3dcc39 Bug 1294220 - part5: Remove the "chrome://" protocol when using LocalizationHelper;r=tromey
MozReview-Commit-ID: JzT8RyPhHwA
2016-08-20 21:59:34 +02:00
Julian Descottes 156ceb6e2f 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
2016-08-20 22:09:03 +02:00
fbdb0dae94 Bug 1295171 - Reintroduce the old Actor/FrontClass constructors. r=jryans
Heintroduce the old Actor/FrontClass constructors.
2016-08-22 16:25:57 +02:00
divyanshu 5b3443845e 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
Ryan VanderMeulen 724c163f1c Merge fx-team to m-c. a=merge 2016-08-19 09:54:25 -04:00
Patrick Brosset 98f15741fe Bug 1289553 - Move the eyedropper label so it's always visible; r=jdescottes
This adds a few new CSS selectors that are used to move the label to the
top and/or left/right of the eyedropper canvas.
The CSS rules use transform and a quick transition.
The eyedropper highlighter then just makes use of this by adding top, left,
right attributes to the DOM depending on its position.

This also adds a test for this, and while testing, I discovered a bug in
shared/layout/utils.js that I fixed here too. Sometimes, the node passed is
actually a DOCUMENT_NODE and so we must account for this in a couple of places
in this file to avoid JS errors.

MozReview-Commit-ID: H969k3mEDJE


MozReview-Commit-ID: 9qOCYVp4mld
2016-08-18 15:17:47 +02:00
Tom Tromey 850dac53cb Bug 1292242 - move scrollIntoViewIfNeeded to its own module; r=bgrins
MozReview-Commit-ID: 8diNiffQmDB
2016-08-17 11:13:54 -06:00
Tom Tromey 44ebe29d9c Bug 1290227 - add replacement module for DOM_VK_ constants; r=bgrins
MozReview-Commit-ID: INmMxfP8ZuL
2016-08-08 15:41:37 -06:00
Jarda Snajdr d6840a49cf Bug 1290680 - Add test coverage for TooltipToggle on HTMLTooltip r=jdescottes
MozReview-Commit-ID: 8j3fbJ2xhml
2016-08-15 16:03:16 +02:00
J. Ryan Stinnett 6f8104c75f Bug 1250171 - Remove *_PER_USER_FLAG probes from DevTools. r=clarkbw
MozReview-Commit-ID: 2nZxPYrKKai
2016-08-12 06:24:14 -05:00
b0fa44c98a Bug 1288423 - Rename Actor/FrontClassWithSpec to Actor/FrontClass. r=fitzgen 2016-08-10 17:36:04 +02:00
d40cce7310 Bug 1288423 - Decouple EventsFormActor from EventsFormFront. r=fitzgen 2016-08-10 17:34:34 +02:00
Tom Tromey d88bf1970a Bug 1287915 - support webpack "raw!" requires in devtools loader; r=jryans
MozReview-Commit-ID: 1H6ogaMrZPV
2016-07-28 12:11:42 -06:00
Jaideep Bhoosreddy b7c3fea969 Bug 1290527 - Fix a parsing issue for sourcemapped locations on Windows. r=jsantell 2016-07-30 19:50:00 -04:00
Julian Descottes f474a9cf9b Bug 1283705 - wait for popuphidden to fix intermittent test browser_tableWidget_mouse_interaction;r=miker
MozReview-Commit-ID: GFyH7f1bXpR
2016-07-15 11:23:14 +02:00
Patrick Brosset c1a3c73892 Bug 1262439 - 8 - Re-implement telemetry in the eye-dropper; r=miker
MozReview-Commit-ID: 2XDhAb3iXdu
2016-06-09 16:02:08 +02:00
Patrick Brosset 3e7653ff54 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
2016-07-20 16:06:42 +02:00
Patrick Brosset e19007d87a 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
2016-07-21 14:35:14 +02:00
J. Ryan Stinnett ce0bf1aef3 Bug 1240907 - Clean up code style in test-actor-registry.js. r=ochameau
MozReview-Commit-ID: GKAKgnVDimD
2016-07-21 12:20:55 -05:00
Tom Tromey b8ed8d9516 Bug 1287620 - don't de-quote identifier tokens in parseDeclarations; r=pbro
MozReview-Commit-ID: GecLWyVsNAy
2016-07-19 12:47:07 -06: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 902c53d236 Bug 1286523 - fix autocomplete popup position in RTL locales;r=bgrins
MozReview-Commit-ID: HRC1ialFBVj
2016-07-13 18:52:37 +02:00
Julian Descottes 7b0f804f9d Bug 1286553 - HTMLTooltip: consume only left click events;r=bgrins
MozReview-Commit-ID: Hr0Lwv8Zx5C
2016-07-14 16:13:11 +02:00
Sebastin Santy 3e0753b8da Bug 1275546 - Use CSS lexer to parse angle values in css-angle.js . r=nchevobbe
MozReview-Commit-ID: DVqlbrruf2b
2016-07-08 06:29:00 +02:00
Wes Kocher 030aa43efd Backed out changeset a097b61f5810 (bug 1247729) for timeouts in browser_layout_update-after-reload.js a=backout 2016-07-13 14:26:06 -07:00