Commit Graph

11655 Commits

Author SHA1 Message Date
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
arthur.iakab
c9d7c4fa05 Merge mozilla-central to mozilla-inbound 2018-08-30 01:16:38 +03: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
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
Alexandre Poirot
0a7bb76603 Bug 1482990 - Use different message names for inbound/outbound message between console and netmonitor actors. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4521

--HG--
extra : moz-landing-system : lando
2018-08-29 12:38:24 +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
c7bd3f7ba5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-29 01:06:58 +03:00
Ciure Andrei
d716a04e20 Merge inbound to mozilla-central. a=merge 2018-08-29 00:58:21 +03:00
Michael Ratcliffe
f99d1fce0e Bug 1435429 - Android 'mach mochitest' fails: 'A cross-directory support file path noted in a test manifest does not appear in any other manifest.' r=bc,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D4214

--HG--
extra : moz-landing-system : lando
2018-08-28 20:29:58 +00: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
55da592d85 Backed out 4 changesets (bug 956376) for causing a spike of failures in bug 1438778. a=backout
Backed out changeset 9cb7826b8f28 (bug 956376)
Backed out changeset 37f94ae472d6 (bug 956376)
Backed out changeset d96d56907ce0 (bug 956376)
Backed out changeset ee0b4798b061 (bug 956376)
2018-08-27 18:52:57 +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
Margareta Eliza Balazs
4623c0701b Merge inbound to mozilla-central. a=merge 2018-08-27 12:40:58 +03:00
Nicolas Chevobbe
226365011f Bug 1486364 - Revert changes in Tree component and test; r=jdescottes.
In https://github.com/devtools-html/debugger.html/pull/6809 a check
was removed in the Tree component because seens as unnecessary, and
a test was modified to accomodate the change. Turns out the test was
needed in its original form, and was surfacing a bug.
This patch rolls back both the change in the Tree component _and_ in
the test.
The Tree modification will be backported to the Github repository.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 07:30:02 +00:00
fvsch
d17844e0bf Bug 1483782 - Remove old webconsole.svg sprite; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D4283

--HG--
extra : moz-landing-system : lando
2018-08-27 13:47:06 +00:00
Mantaroh Yoshinaga
94698538d1 Bug 1472931 - Drop the autofocus feature of HTMLTooltip. r=birtles
This feature is no longer used. So this patch will remove this feature.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 01:35:55 +00:00
Gabriel Luong
40775b5480 Bug 1471460 - Adjust the styles of the active markup display badges. r=miker 2018-08-26 21:10:56 -04:00
Razvan Caliman
a4026b908d Bug 1485389 - Guard against invalid values in number inputs. r=gl
Roll our own validation because Firefox number inputs are unreliable.
Use internal state for the inputs while the user is typing.
Revert to valid values on blur if necessary.
Reconcile internal state with outside props on blur.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 10:21:40 +00:00
Julian Descottes
9af8caced5 Bug 1441878 - Remove unused css variable theme-codemirror-gutter-background;r=ntim
This variable is no longer used anywhere and can be removed

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

--HG--
extra : moz-landing-system : lando
2018-08-27 09:46:28 +00:00
Margareta Eliza Balazs
a629c5e84f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-27 12:44:17 +03:00
Nicolas Chevobbe
2e606ab5f6 Bug 1485510 - Fix mochitests that don't work with CM jsterm enabled; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D4209

--HG--
extra : moz-landing-system : lando
2018-08-27 07:56:03 +00:00
yulia
1bfcdf90b1 Bug 1485939 - use eager loading for evalWithDebugger; r=nchevobbe
use Eager loading for evalWithDebugger

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

--HG--
extra : moz-landing-system : lando
2018-08-27 06:15:14 +00:00
Gabriel Luong
e126996d9b Bug 1485243 - Add highlights to the source link, selector and computed properties when filtering styles. r=bgrins 2018-08-25 21:25:02 -04:00
Michael Ratcliffe
6d48a286a1 Bug 1467400 - Disable JavaScript should not be available in the browser toolbox r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4234

--HG--
extra : moz-landing-system : lando
2018-08-24 16:09:58 +00:00
Brendan Dahl
f6923ccc24 Bug 1485426 - Use createXULElement instead of createElement in XUL docs. r=bgrins
Preparing for transitioning to XHTML.

MozReview-Commit-ID: JLlmUxsvhIB

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

--HG--
extra : moz-landing-system : lando
2018-08-25 00:16:27 +00:00