Граф коммитов

9535 Коммитов

Автор SHA1 Сообщение Дата
Coroiu Cristina 43969de34f Merge inbound to mozilla-central a=merge 2018-08-31 19:14:43 +03:00
Julian Descottes 8ea3fdebc1 Bug 1487078 - Move extensions helper xpcshell test to aboutdebugging-new;r=daisuke
Depends on D4646

Differential Revision: https://phabricator.services.mozilla.com/D4647

--HG--
rename : devtools/client/aboutdebugging/test/test_addon_path.js => devtools/client/aboutdebugging-new/test/unit/test_extensions_path.js
rename : devtools/client/aboutdebugging/test/xpcshell-head.js => devtools/client/aboutdebugging-new/test/unit/xpcshell-head.js
rename : devtools/client/aboutdebugging/test/xpcshell.ini => devtools/client/aboutdebugging-new/test/unit/xpcshell.ini
extra : moz-landing-system : lando
2018-08-31 06:55:53 +00:00
Julian Descottes eee68972ac Bug 1487078 - Copy addon helper to aboutdebugging-new;r=daisuke
Depends on D4548

Differential Revision: https://phabricator.services.mozilla.com/D4646

--HG--
rename : devtools/client/aboutdebugging/modules/addon.js => devtools/client/aboutdebugging-new/src/modules/extensions-helper.js
extra : moz-landing-system : lando
2018-08-31 08:12:16 +00:00
Julian Descottes 82f188b48e Bug 1487078 - Reuse addon debugging helpers from aboutdebugging in new ui;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D4548

--HG--
extra : moz-landing-system : lando
2018-08-31 06:52:16 +00:00
Gurzau Raul 3107aff601 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-31 00:53:00 +03:00
Gurzau Raul 09fe34b331 Merge inbound to mozilla-central. a=merge 2018-08-31 00:49:36 +03:00
Yash Johar c85c47cc05 Bug 1485185: Replace current RDM icon with phone/tablet icon; r=gl 2018-08-30 15:36:45 -04:00
Gabriel Luong 79d2fde0c1 Bug 1486801 - Clicking on the [...] should expand the markup container. r=jdescottes 2018-08-30 11:29:23 -04:00
Gurzau Raul f9c513f20c Backed out 3 changesets (bug 1447487, bug 1485374) for failing at browser_ext_devtools_panels_elements_sidebar.js and /mochitest/test_inspector-pick-color.html on a CLOSED TREE
Backed out changeset 82ef44f87f72 (bug 1447487)
Backed out changeset d8a1c6a80a59 (bug 1447487)
Backed out changeset d4761bb0096a (bug 1485374)
2018-08-30 21:31:53 +03:00
Narcis Beleuzu 1e60ae6690 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-30 20:08:44 +03:00
Narcis Beleuzu 519a959b59 Backed out changeset 93112d1b45cb (bug 1486801) for dt failures on browser_markup_textcontent_display.js. CLOSED TREE 2018-08-30 19:26:44 +03:00
Michael Ratcliffe fcc5c87c5d Bug 1487385 - Add key prop to MenuItem call r=nchevobbe
Fixes this warning every time the toolbox is opened:

"Warning: Each child in an array or iterator should have a unique "key" prop.

Check the render method of `ToolboxTabs`. See https://fb.me/react-warning-keys for more information.
    in MenuItem (created by ToolboxTabs)
    in ToolboxTabs (created by ToolboxToolbar)
    in div (created by ToolboxToolbar)
    in ToolboxToolbar (created by ToolboxController)
    in ToolboxController"

Differential Revision: https://phabricator.services.mozilla.com/D4671

--HG--
extra : moz-landing-system : lando
2018-08-30 13:24:52 +00:00
Nicolas Chevobbe 051548cbe7 Bug 1487452 - Set devtools.debugger.features.map-await-expression to true only on Nightly; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D4691

--HG--
extra : moz-landing-system : lando
2018-08-30 16:24:27 +00:00
Jonathan Kingston a1f35468d5 Bug 1486159 - fix devtools to use openWebLinkIn. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D4393

--HG--
extra : moz-landing-system : lando
2018-08-30 11:06:26 +00:00
Nicolas Chevobbe 8ed23b0cda Bug 1486768 - Fix mocha tests;r=Honza.
Some tests were failing because of change in the code:
- arrow icon don't have an expanded class anymore but use aria-expanded
- executionPoint property wasn't set on the ConsoleMessageType
- networkUpdateRequest action expects a second argument
- requestHeadersFromUploadStream is retrieved from requestPostData.uploadHeaders

Differential Revision: https://phabricator.services.mozilla.com/D4444

--HG--
extra : moz-landing-system : lando
2018-08-30 10:42:43 +00:00
fvsch f4579b5557 Bug 1464348 - Tweak base devtools colors to fix theme inconsistencies; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4300

--HG--
extra : moz-landing-system : lando
2018-08-30 02:59:32 +00:00
Mantaroh Yoshinaga aa3c35e3d7 Bug 1473210 - Add meatball menu sanity tests. r=birtles
This test will check the following:
 * Open / Close the meatball menu with click the button.
 * Handling the keys. (Up / Down / Home / End)
 * Close the meatball menu with F1 key.
 * Close the meatball menu with Escape key.

Differential Revision: https://phabricator.services.mozilla.com/D3592

--HG--
extra : moz-landing-system : lando
2018-08-30 04:19:59 +00:00
arthur.iakab 5c9e5bd8cc Merge mozilla-central to autoland 2018-08-30 07:37:51 +03:00
Brian Birtles e2df0f3552 Bug 1485901 - Add localization plumbing for new about:debugging panels; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4503

--HG--
extra : moz-landing-system : lando
2018-08-30 00:56:15 +00:00
yulia 7602f12fd8 Bug 1485022 - use target.reconfigure to set paint flashing; r=ochameau
Set the targets paintflashing via the reconfigure on the target.

Differential Revision: https://phabricator.services.mozilla.com/D3897

--HG--
extra : moz-landing-system : lando
2018-08-29 14:05:31 +00:00
Gabriel Luong 9fc3862325 Bug 1478397 - Part 5: Display the flex item sizing properties in the flexbox panel. r=rcaliman 2018-08-29 17:38:08 -04:00
Cosmin Sabou e56177c10e Backed out 2 changesets (bug 1486891) for turning bug 1176376 into permafail. CLOSED TREE
Backed out changeset cad015aaf131 (bug 1486891)
Backed out changeset 1f2c35dde932 (bug 1486891)
2018-08-29 20:22:30 +03:00
yulia 4c6ea1deea Bug 1447487 - use target.getFront to instantiate inspectorFront; r=ochameau
--HG--
extra : rebase_source : d62245b5620442ea1714a1b88e9cccc310f878df
2018-08-28 15:04:36 +02:00
Razvan Caliman d92c87d257 Bug 1486891 - (Part 2) Remove old font preview functionality from font editor. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4475

--HG--
extra : moz-landing-system : lando
2018-08-29 10:37:59 +00:00
Razvan Caliman 67fcb745fd Bug 1486891 - (Part 1) Add dedicated input for font preview in font editor. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4474

--HG--
extra : moz-landing-system : lando
2018-08-29 10:09:28 +00:00
Nicolas Chevobbe 6f0d1ac596 Bug 1484979 - Fix old-jsterm UI glitches; r=bgrins.
The completion node was wrongly positioned as soon as the input overflowed.
We fix this by setting the completionNode height in resizeInput,
like we do for the inputNode.

The inputNode takes the whole remaining vertical space
when starting the console. But when typing, the height
is computed and set according to what's in the input.
Which means the input wasn't taking the remaining space
anymore, which could be weird (e.g. if the user wants
to select some text by starting dragging below the actual
input, although the UI would indicate it is possible).

The autocompletionPopup was a bit off due to 2 things:
- in the function that was returning the chevronWidth, we
were subtracting the autocomplete popup padding. But the
autocomplete popup already handles that itself.
- in the function that was computing the character width,
we were using offsetWidth which returned a rounded value.
This means that the further the autocompletion was displayed
at, the more the popup would be off. We use getBoundingClientRect().width
instead which gives us a decimal value.

And we also make sure to not alter the scrolling position in the inputNode
when accepting an autocompletion result (a test is added).

Differential Revision: https://phabricator.services.mozilla.com/D4207

--HG--
extra : moz-landing-system : lando
2018-08-29 05:41:52 +00:00
Julian Descottes 18e537a5ef Bug 1486798 - Do not connect/disconnect when selecting the same page again;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D4455

--HG--
extra : moz-landing-system : lando
2018-08-29 12:27:34 +00:00
Nicolas Chevobbe 3885af5165 Bug 1486611 - Fix SearchBox styling; r=ntim.
In Bug 1478435 a selector was removed causing the background
of the SearchBox autocomplete to be transparent and without
box-shadow.
This patch add the needed rule in the CSS. We take this as an
opportunity to fix a small positioning issue by making sure
the element stick to the left.

Differential Revision: https://phabricator.services.mozilla.com/D4421

--HG--
extra : moz-landing-system : lando
2018-08-29 11:13:04 +00:00
Andreea Pavel c68b2fe678 Backed out changeset 2f46b98d41d9 (bug 1486798) for eslint failure at builds/worker/checkouts/gecko/devtools/client/aboutdebugging-new/src/reducers/ui-state.js on a CLOSED TREE 2018-08-29 14:59:34 +03:00
Julian Descottes 658e327202 Bug 1486798 - Do not connect/disconnect when selecting the same page again;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D4455

--HG--
extra : moz-landing-system : lando
2018-08-28 15:37:38 +00:00
Margareta Eliza Balazs b45b01e82c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-29 12:47:56 +03:00
Margareta Eliza Balazs 2fe43133db Merge inbound to mozilla-central. a=merge 2018-08-29 12:43:37 +03:00
Julian Descottes fe4aadb7c5 Bug 1482868 - Show no devices... message when devices list empty;r=daisuke,ladybenko
Depends on D3227

Differential Revision: https://phabricator.services.mozilla.com/D3229

--HG--
extra : moz-landing-system : lando
2018-08-28 14:00:39 +00:00
Julian Descottes 8ffc58288b Bug 1482868 - Show network locations as non selectable sidebar items;r=daisuke,ladybenko
Depends on D3226

Differential Revision: https://phabricator.services.mozilla.com/D3227

--HG--
extra : moz-landing-system : lando
2018-08-28 13:43:37 +00:00
Razvan Caliman cf0b883e11 Bug 1486409 - Guard against a font property value of zero. Catch NaN and Infinity in unit conversion. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4326

--HG--
extra : moz-landing-system : lando
2018-08-29 09:04:45 +00:00
Julian Descottes b8c9575ab6 Bug 1482868 - Rename connect-network-icon to globe icon;r=daisuke
Depends on D3224

Differential Revision: https://phabricator.services.mozilla.com/D3226

--HG--
rename : devtools/client/themes/images/aboutdebugging-connect-network-icon.svg => devtools/client/themes/images/aboutdebugging-globe-icon.svg
extra : moz-landing-system : lando
2018-08-28 13:43:12 +00:00
Ciure Andrei d716a04e20 Merge inbound to mozilla-central. a=merge 2018-08-29 00:58:21 +03:00
Brian Grinstead faa5c193d5 Bug 1486834 - Remove browserConsoleUsesHTML and browserConsoleURL from webconsole definition;r=nchevobbe
These were used when we were working on the HTML version of the frontend, but now
we don't even ship the XUL version, and these properties got missed during removal.

Differential Revision: https://phabricator.services.mozilla.com/D4463

--HG--
extra : moz-landing-system : lando
2018-08-28 16:21:57 +00:00
Julian Descottes 8718800de4 Bug 1482868 - Prevent empty values only when submitting network location;r=daisuke
Depends on D3222

Differential Revision: https://phabricator.services.mozilla.com/D3224

--HG--
extra : moz-landing-system : lando
2018-08-28 13:42:43 +00:00
Razvan Caliman 46fa24934f Bug 1486720 - Enable font highlighter. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4430

--HG--
extra : moz-landing-system : lando
2018-08-28 13:18:37 +00:00
Julian Descottes da674226da Bug 1482868 - Move aboutdebugging sidebar components to dedicated folder;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D3222

--HG--
rename : devtools/client/aboutdebugging-new/src/components/Sidebar.css => devtools/client/aboutdebugging-new/src/components/sidebar/Sidebar.css
rename : devtools/client/aboutdebugging-new/src/components/Sidebar.js => devtools/client/aboutdebugging-new/src/components/sidebar/Sidebar.js
rename : devtools/client/aboutdebugging-new/src/components/SidebarItem.css => devtools/client/aboutdebugging-new/src/components/sidebar/SidebarItem.css
rename : devtools/client/aboutdebugging-new/src/components/SidebarItem.js => devtools/client/aboutdebugging-new/src/components/sidebar/SidebarItem.js
extra : moz-landing-system : lando
2018-08-28 13:41:49 +00:00
Preeti Mukherjee 16c9e3c5c9 Bug 696385 - change dom.a to dom.span in mozilla-central/devtools/client/webconsole/components/message-types/NetworkEventMessage.js#109; r=nchevobbe
MozReview-Commit-ID: 2PBUG8yQIXY

Differential Revision: https://phabricator.services.mozilla.com/D4136

--HG--
extra : moz-landing-system : lando
2018-08-28 05:16:26 +00:00
Nicolas Chevobbe adae89f267 Bug 1486446 - Remove Console Launchpad support; r=bgrins.
It's broken and unmaintained for a long time now,
the Console Team does not use it and has no plan doing so.

Differential Revision: https://phabricator.services.mozilla.com/D4348

--HG--
extra : moz-landing-system : lando
2018-08-27 16:31:58 +00:00
Nicolas Chevobbe 0d7183224a Bug 1485990 - Display 1-item-only autocomplete popup if autocompletion text can't be displayed; r=bgrins.
If the autocomplete only returns 1 item, we usually close the
popup and show the autocompletion text.
But in some cases the autocompletion text can't be shown (e.g.
there's some text after the cursor). So we end up showing
nothing for the user, which is not ideal.
In such case, this patch ensures we do show the popup so the
user can autocomplete and save some keystrokes.

Depends on D4061

Differential Revision: https://phabricator.services.mozilla.com/D4335

--HG--
extra : moz-landing-system : lando
2018-08-27 16:25:57 +00:00
Nicolas Chevobbe f9b5460bf2 Bug 672733 - Make autocomplete search case insensitive; r=Honza.
This patch adds a smarter heuristic for autocompletion results:
if the input first letter is lowercased, then we'll filter
matching properties case insensitively. But if the user starts
with an uppercase, we assume they know the property they want
and thus respect the casing.
For example: `win` will return both `window` and `Window`, but
`Win` will return `Window` only.
Due to this behavior, we change the order of the autocomplete
results so lowercased property are displayed before the uppercased
one.
If we take are example again, it's likely that if a user type `win`,
they want `window`, but the alphabetical order would return `Window`
first which would annoy user.

Now, since we return results that does not match exactly the user
input, we need to modify the frontend.

Usually, we only show the autocompletion popup if there are
at least 2 matching items, since 1 matching item will still
be displayed using the autocompletion text. But now, since the
input might not match, we want to still display the popup if
there is one matching item, but starts differentely than what
the user entered.
For example, the user typed `window.addeve`, which matches
`addEventListener`. The completion text will make it looks like
it will be completed to `window.addeventListener`, which would
be undefined. So showing the popup with the actual matching
property might avoid some confusion for the user.

A test was added to make sure the frontend works as expected.
Some test cases were added in the server test to make sure
the actor returns expected results. Other tests needed some
adjustement because of the insensitive case matches and the
new order of results.

Differential Revision: https://phabricator.services.mozilla.com/D4061

--HG--
extra : moz-landing-system : lando
2018-08-27 16:08:56 +00:00
Razvan Caliman 975d7098fd Bug 1486011 - Refactor auto-increment behaviour on sliders in font editor. r=gl
- increase delay before auto-increment starts and between iterations.
- ensure auto-increment happens only when *dragging and holding* the slider thumb.
- ensure auto-increment works consistently when switching from number input directly to slider.

Depends on D4225

Differential Revision: https://phabricator.services.mozilla.com/D4226

--HG--
extra : moz-landing-system : lando
2018-08-27 16:58:44 +00:00
Cosmin Sabou 1f05c39e5d Merge mozilla-central to autoland. a=merge 2018-08-27 18:59:16 +03:00
Cosmin Sabou 5d011e88d1 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-27 18:51:27 +03:00
yulia e259742bdf Bug 1483173 - introduce screenshot actor; r=ochameau
This patch introduces a screenshot actor, which allows the screenshot functionality to be
shared across tools, and also implements it for the toolbox itself

Differential Revision: https://phabricator.services.mozilla.com/D3341

--HG--
rename : devtools/server/actors/webconsole/screenshot.js => devtools/shared/screenshot/capture.js
rename : devtools/shared/webconsole/screenshot-helper.js => devtools/shared/screenshot/save.js
extra : moz-landing-system : lando
2018-08-27 15:14:10 +00:00
Margareta Eliza Balazs 097bf8b179 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-27 12:45:16 +03:00