Commit Graph
223 Commits
Author SHA1 Message Date
Tim Nguyen f2c4416df2 Bug 1316723 - Fix more eslint errors in devtools/client/shared/. r=tromey
MozReview-Commit-ID: IzXyqkQECKb
2016-11-11 09:09:50 +00:00
Sebastian Hengst 2fecbac0d0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: devtools. r=RyanVM
MozReview-Commit-ID: DZit0XSS1yk
2016-11-05 11:29:14 +01:00
Jared Wein 5edec1c0d9 Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: HIUTSdkXxbY
2016-11-03 14:42:06 -04: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
J. Ryan Stinnett cd2e2f271f Bug 1311178 - Expose some DevTools CSS as resource:// only. r=ntim
For CSS files which were used via both chrome:// and resource://, I converted
all usages to resource:// and removed the chrome:// copy to reduce file
duplication.

I believe most DevTools CSS could be using resource:// throughout, but that's
left as follow up work for now.

MozReview-Commit-ID: G7oxZqjodwv
2016-10-19 16:19:29 -05:00
Julian Descottes ec679ca2de Bug 1310957 - listen to XUL Panel wrapper hidden event to hide HTML tooltip;r=gl
MozReview-Commit-ID: 7iyc2QY0KbP
2016-10-19 00:08:00 +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
Carsten "Tomcat" Book f4bcb7bddc Merge mozilla-central to mozilla-inbound 2016-10-17 11:34:49 +02:00
JerryShih 6d0ef3564c Bug 1302787 - add a test for old-style and css-color-4 color function syntax in devtool. r=ttromey
MozReview-Commit-ID: KXIJzAxcLCJ
2016-10-17 02:12:05 -04:00
JerryShih b1183daad8 Bug 1302787 - set a new invalid rgb color value for devtool test case. r=ttromey
The "rgb(24, 25, 45, 1)" is valid now. Turn to use "rgb(24, 25%, 45, 1)".

MozReview-Commit-ID: InH3z7XcDbq
2016-10-17 02:12:05 -04:00
Iris Hsiao 74449c6e49 Backed out changeset 8597a7e99ac8 (bug 1302787) 2016-10-17 12:05:27 +08:00
Iris Hsiao f6f08680cf Backed out changeset 554359eddb93 (bug 1302787) for lint failure 2016-10-17 12:05:17 +08:00
JerryShih b4c88e29d8 Bug 1302787 - Add a test for old-style and css-color-4 color function syntax in devtool. r=tromey 2016-10-16 03:15:37 +08:00
JerryShih d0452cc74f Bug 1302787 - Set a new invalid rgb color value for devtool test case. r=tromey
The "rgb(24, 25, 45, 1)" is valid now. Turn to use "rgb(24, 25%, 45, 1)".

MozReview-Commit-ID: D7Qa6whIPfC
2016-10-16 03:15:37 +08:00
Julian Descottes 485b4f13e9 Bug 1301342 - add noautohide=true on XUL panel wrapper for HTMLTooltip;r=gl
MozReview-Commit-ID: AL4dc0Lp4GG
2016-10-11 16:50:35 +02:00
Sebastian Zartner f123c73a3f Bug 1088305 - Adjusted browser theme test to check Firebug theme; r=jdescottes
MozReview-Commit-ID: 4mCaF46aLx8
2016-10-08 01:54:17 +02:00
Patrick Brosset 4d235c5270 Bug 1304685 - Show empty text nodes in markupview if they impact layout; r=jdescottes
When the inspector actor walks the DOM in order to find nodes to be
displayed in the inspector panel, it ignores text nodes that contain
only whitespace characters (in order to avoid cluttering the panel with
useless information).

This commit changes this logic so that whitespace text nodes are only
ignored when the node in fact has no layout at all (all text collapsed).
Inside inline formatting contexts, whitespace text nodes may have layout
and therefore push elements further apart. So seeing these nodes in the
panel actually help debugging issues.

MozReview-Commit-ID: GvNMsqsT3w6
2016-10-11 16:29:20 +02:00
Carsten "Tomcat" Book f68721b6cd Backed out changeset 3f46c236948f (bug 1088305) 2016-10-10 15:27:37 +02:00
Sebastian Zartner eae68c92d1 Bug 1088305 - Adjusted browser theme test to check Firebug theme; r=jdescottes
MozReview-Commit-ID: 4mCaF46aLx8
2016-10-08 01:54:17 +02: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
Gabriel Luong 876454c8a9 Bug 1307481 - Part 1: Move Tooltip.js and HTMLTooltip.js into widgets/tooltip/ r=jdescottes 2016-10-04 22:48:49 -04:00
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