Commit Graph

12675 Commits

Author SHA1 Message Date
Daisuke Akatsuka
4f3b0292c4 Bug 1497099: Use common runtime PropTypes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D8795

--HG--
extra : moz-landing-system : lando
2018-10-18 00:48:54 +00:00
Nicolas Chevobbe
4c897a56af Bug 1473841 - Transform property access on a dot-notation invalid name into an element access; r=bgrins.
This patch turns property access that would result in
Syntax error (e.g. `x.data-test`) into element access
(e.g. `x["data-test"]`) when accepting a completion
value in the console input.
In order to do that, we use Reflect to parse  a custom
expression where we try to define the property the user
is going to accept. If this throws, this means we need to
modify the input into an element access.
A test is added to make sure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:55:26 +00:00
Micah Tigley
516bc89f48 Bug 1476491 - Adjust the flexbox line styles to match the css grid line styles. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D8600

--HG--
extra : moz-landing-system : lando
2018-10-17 18:08:31 +00:00
Micah Tigley
7114accfc1 Bug 1498669 - flex devtools are broken if a flex container is a grandchild of a flex container. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D8911

--HG--
extra : moz-landing-system : lando
2018-10-17 14:55:18 +00:00
Paolo Amadini
3a2f47fd3f Bug 1428869 - Use html:progress in front-end code. r=bgrins,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D9009

--HG--
extra : rebase_source : 0e2d20dc6060a4c0ee278ef05d67668aec12e64f
2018-10-18 15:41:21 +01:00
Patrick Brosset
c7a8a18e88 Bug 1497181 - Display sizing info for text nodes too; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D8976

--HG--
extra : moz-landing-system : lando
2018-10-18 17:23:32 +00:00
Luca Greco
c900a958ac Bug 1495855 - Rework the about:debugging webextensions tests to do not use symlink-ed test addons. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8589

--HG--
extra : moz-landing-system : lando
2018-10-18 11:40:02 +00:00
yulia
4448c52661 Bug 1495387 - introduce async front instantiation; r=ochameau
Depends on D8989

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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:34:33 +00:00
Patrick Brosset
d440e92be8 Bug 1499755 - Select the right inline stylesheet on rule-view source url click; r=gl
The code we had to jump to the style-editor when a rule-view source link is clicked did
not make any distinction between multiple inline stylesheets. If you had many of them,
they would all have the same url (i.e. the url of the document, because they are
inline). And we were matching stylesheets in the style-editor by url, so we would
always select the first inline stylesheet.

This change makes use of the fact that the style-editor's selectStyleSheet function
also accept a StyleSheetFront object. When passing this object, there can be no
confusion, because they're all different.

Now, I'm only doing this for inlin stylesheets because other stylesheets have unique
urls and it's important to preserve the previous logic since source-maps may also be
involved.

I'm taking this opportunity to re-enable browser_rules_style-editor-link.js which had
been disabled a long time ago, and removing a part that just doesn't work anymore at
all apparently.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 15:15:12 +00:00
yulia
635b91ba55 Bug 1499686 - Remove _supportsFrameHighlight; r=ochameau
Depends on D8988

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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:10:29 +00:00
yulia
55b14ce44a Bug 1499710 - Remove autohideOnDestroy trait; r=ochameau
Depends on D8987

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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:10:59 +00:00
yulia
58c1777795 Bug 1499683 - Remove Highlightable Trait; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8987

--HG--
extra : moz-landing-system : lando
2018-10-18 14:12:00 +00:00
Julian Descottes
26170d2f0d Bug 1488506 - Add mochitest for enable/disable USB debugging in Connect page;r=ladybenko,daisuke
Depends on D8556

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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:34:15 +00:00
Julian Descottes
778a22f79d Bug 1488506 - Add button to enable/disable USB debugging in Connect page;r=ladybenko,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D8556

--HG--
extra : moz-landing-system : lando
2018-10-17 08:47:30 +00:00
Alexandre Poirot
358eb27dd0 Bug 1499333 - Rename all "worker client" to "worker target front". r=jdescottes
MozReview-Commit-ID: 30eOjbkYyvg

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

--HG--
extra : moz-landing-system : lando
2018-10-18 07:21:02 +00:00
Cosmin Sabou
d3c64e672f Merge mozilla-central to autoland. a=merge 2018-10-19 00:57:18 +03:00
Julian Descottes
8193ff5493 Bug 1499357 - Move inline script out of new aboutdebugging index.html;r=ladybenko
This preparatory work will be necessary to enable CSP for the new about
debugging.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 16:10:35 +00:00
Brian Hackett
8ec92382a7 Bug 1498012 Part 1 - Fix ReplayDebugger problems when searching for scripts and enumerating object properties, r=lsmyth.
--HG--
extra : rebase_source : e80c94d7821b813c2d588c36edd232370f385749
2018-10-16 08:25:36 -06:00
yulia
c5855f6439 Bug 1488379 - Use target.getFront to instantiate animationsFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7986

--HG--
extra : moz-landing-system : lando
2018-10-15 15:54:36 +00:00
Patrick Brosset
8026cdd120 Bug 1497348 - Wait for the inspector to be ready after reload; r=yzen
Depends on D8974

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

--HG--
extra : moz-landing-system : lando
2018-10-18 07:57:02 +00:00
Patrick Brosset
a06696c36a Bug 1497348 - Remove callbacks and use async await in browser_toolbox_window_reload_target.js; r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D8974

--HG--
extra : moz-landing-system : lando
2018-10-18 07:56:14 +00:00
Razvan Caliman
4d87a7742b Bug 1497950 - Ensure CSSRuleView has immediate access to PageStyleFront from inspector; r=gl
The current iteration of the Fonts panel requires an instance of the Rules view
in order to get access to the element's rules.

In 2-pane mode, when the Fonts panel is the default (last used panel), the Rules
view is not yet instantiated. To guard against this, the Fonts panel makes a call
to ensure an instance of the Rules view is created (and with it a CSSRuleView object).

For some reason, the pageStyle wasn't immediately assigned to the CSSRuleView in
the constructor. The constructor signature shows that pageStyle can be passed in as a
param, but this never happens. There's only one usage of `new CSSRuleView()`.
The pageStyle exist on the inspector instance passed in to the CSSRuleView.

This patch ensures that the CSSRuleView makes use of the PageStyleFront instance
from the inspector and removes the unused param from the constructor.

Perhaps it's better for the Fonts panel to manage its own ElementStyle instance to
get access to the element's selected rules. But in the interest of time, since the
merge date is soon, I'd rather have this fix in quikcly now and keep the dependency
to a Rules view instance with the promise to revisit the Fonts panel architecture and
remove this dependency during the Firefox 65 Nightly cycle.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 18:10:01 +00:00
Daniel Varga
e4438031ba Backed out 5 changesets (bug 1496220) for chrome failure at toolkit/content/tests/chrome/test_findbar_events.xul. on a CLOSED TREE
Backed out changeset 2c1353f4a3f5 (bug 1496220)
Backed out changeset bc592bed0522 (bug 1496220)
Backed out changeset 7b5505d44965 (bug 1496220)
Backed out changeset 670b75f8446f (bug 1496220)
Backed out changeset c4a8a6256d7f (bug 1496220)

--HG--
extra : rebase_source : 43edfc28753cca429f7a72994d568091f30e62bc
extra : amend_source : 738723a11e8fb88a71cac79de93b878d82230409
2018-10-17 20:21:16 +03:00
Csoregi Natalia
ad070fb0ff Backed out changeset b062b1682bbd (bug 1495855) for failures on browser_addons_debug_info.js. CLOSED TREE 2018-10-17 19:23:45 +03:00
Jim Chen
5e1875353b Bug 1496220 - 3. Disable Necko IPC security for test_saveHeapSnapshot_e10s_01; r=fitzgen
The use of <iframe mozbrowser> in test_saveHeapSnapshot_e10s_01.html has
implicitly depended on the "network.disable.ipc.security" pref set to
false, which is the default for desktop and not applicable for Fennec.
With the new mobile test harness, this pref needs to be set explicitly
by the test.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 16:12:30 +00:00
savvysiddharth
c063aeeee7 Bug 1317076 - Making navigation marker more obvious; r=nchevobbe
Before this patch, in developer console, enabling persist log, message displayed "Navigated to" ..something was not distinguishable from console.log messages. Now specific class for navigation marker is added.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 15:11:28 +00:00
Nicolas Chevobbe
c6c345bff2 Bug 1498598 - Make js-property-provider better; r=bgrins.
This patches solves 2 issues:
- it doesn't return any result when the user is trying to
perform a variable, function or class declaration (e.g.
var d).
- js-property-provider used to compute the last statement
by only looking for space or ; chars. But there are a lot
of cases (basically each time using an operator), where we
should return results and we weren't.
Test cases are added to cover those fixes.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 15:02:41 +00:00
Luca Greco
10ff99f300 Bug 1495855 - Rework the about:debugging webextensions tests to do not use symlink-ed test addons. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8589

--HG--
extra : moz-landing-system : lando
2018-10-15 16:43:05 +00:00
Luca Greco
85c8794fe1 Bug 1393760 - Avoid to fire multiple new-node-front events for undefined nodeFront. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8856

--HG--
extra : moz-landing-system : lando
2018-10-16 17:54:47 +00:00
Patrick Brosset
8bc98179e9 Bug 1499322 - Support pseudo elements in the flexbox inspector; r=rcaliman
On the server, when looking for a flex container for a node, we were bailing
out if the displayType of the node was null. It was null for pseudo-elements.
This value was returned by the displayType getter in the NodeActor class.
Now, the reason for this dates to 4 years ago in bug 1139937 where trying to
get the display style of a pseudo-element was done in a way to failed. So we
just decided to return null at that point. It doesn't fail anymore, we're
able to return, say, "block" if a pseudo-element has a display:block style.
So I've removed the checks that returned null and that fixed the issue here.

The other part of the fix that was need is in the FlexItemActor class on the
server too. This class can be created for a pseudo-element too.
It accesses element.style without checking if that property exists. However it
does not exist for pseudo-elements. So we needed to add a check for that.
It's not a problem to just skip it in this case because pseudo-elements can't
have inline styles.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 14:24:57 +00:00
yulia
c22cefe4e6 Bug 1488375 - Use target.getFront to instantiate MemoryFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7097

--HG--
extra : moz-landing-system : lando
2018-10-17 10:36:33 +00:00
Julian Descottes
f5dd787e3e Bug 1494549 - Disable new aboutdebugging tests on Linux 32;r=ladybenko
Depends on D8513

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

--HG--
extra : moz-landing-system : lando
2018-10-17 10:45:49 +00:00
Julian Descottes
2959e3bfe3 Bug 1494549 - Wait until ADB started in USB status sidebar test;r=daisuke
Depends on D8335

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

--HG--
extra : moz-landing-system : lando
2018-10-17 11:11:53 +00:00
Julian Descottes
795c6e7708 Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 11:10:33 +00:00
Julian Descottes
2abe7cbcce Bug 1494549 - Show USB devices status in sidebar;r=ladybenko
Maybe we want to land the simplest solution for now and discuss
quickly how to style the message to reduce confusion in a follow up?

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

--HG--
extra : moz-landing-system : lando
2018-10-17 11:10:05 +00:00
yulia
94266886f2 Bug 1499056 - Use target.getFront for screenshot front; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8866

--HG--
extra : moz-landing-system : lando
2018-10-17 10:40:48 +00:00
Margareta Eliza Balazs
0519ad0209 Backed out 3 changesets (bug 1494549) for multiple failures e.g.: devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_sidebar_usb_status.js CLOSED TREE
Backed out changeset 5729da1055e8 (bug 1494549)
Backed out changeset 7c62247314d7 (bug 1494549)
Backed out changeset bff7126ddd3f (bug 1494549)
2018-10-17 11:52:14 +03:00
Julian Descottes
1bf1e7cf90 Bug 1494549 - Wait until ADB started in USB status sidebar test;r=daisuke
Depends on D8335

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

--HG--
extra : moz-landing-system : lando
2018-10-17 07:21:11 +00:00
Julian Descottes
53b7c866bb Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 07:20:08 +00:00
Julian Descottes
0538acfa7d Bug 1494549 - Show USB devices status in sidebar;r=ladybenko
Maybe we want to land the simplest solution for now and discuss
quickly how to style the message to reduce confusion in a follow up?

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

--HG--
extra : moz-landing-system : lando
2018-10-17 07:19:25 +00:00
Alexandre Poirot
0012df664b Bug 1497150 - Use BrowsingContextFront's javascriptEnabled cached value instead of calling attach. r=jdescottes
For now, the options panel was calling `attach` to know if the javascript was disabled
on the debugged document. But this property is already cached during the `attach`
request done by the toolbox.

MozReview-Commit-ID: JcDT6vxCUzN

Depends on D8851

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

--HG--
extra : moz-landing-system : lando
2018-10-16 22:17:20 +00:00
Alexandre Poirot
3dcf321b29 Bug 1497150 - Convert browser_toolbox_options_disable_js.js to async test. r=jdescottes
MozReview-Commit-ID: 132swUYwGZw

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

--HG--
extra : moz-landing-system : lando
2018-10-16 22:17:18 +00:00
shindli
20d8934ad2 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-17 03:58:24 +03:00
shindli
2eb594138a Merge inbound to mozilla-central. a=merge 2018-10-17 03:55:26 +03:00
Alexandre Poirot
0f5e860391 Bug 1495551 - Rename all "tab client" occurences to "target front". r=jdescottes
MozReview-Commit-ID: JrEdamUz6Be

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

--HG--
extra : moz-landing-system : lando
2018-10-16 18:45:33 +00:00
Florens Verschelde
17b8e17272 Bug 1488012 - Update devtools frame picker button; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4820

--HG--
extra : moz-landing-system : lando
2018-10-16 17:42:43 +00:00
Nicolas Chevobbe
02618be077 Bug 1499378 - Fix mocha test; r=bgrins.
A function was missing in the serviceContainer stub,
and the console.trace with params test needed a
Provider wrapper to work with the latest changes made
to the ObjectInspector.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 15:02:17 +00:00
yulia
d407fdf975 Bug 1497545 - clean up framerate tests; r=ochameau
Depends on D8542

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

--HG--
extra : moz-landing-system : lando
2018-10-16 14:18:10 +00:00
yulia
5aecbef59c Bug 1497545 - Use getFront for Framerate Front where possible; r=ochameau
In this patch, I converted the call sites where there was an obvious target. I left out
those where there wasn't one... Should these be converted as well?

Depends on D8369

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

--HG--
extra : moz-landing-system : lando
2018-10-16 14:17:52 +00:00
yulia
ba9f6d1c74 Bug 1497545 - remove client and cleanup from attachURL; r=ochameau
Depends on D8372

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

--HG--
extra : moz-landing-system : lando
2018-10-15 16:08:53 +00:00
yulia
ca44cba877 Bug 1497545 - Use getInspector in devtools/server/tests/mochitest r=ochameau
This patch converts all getInspector locations

Depends on D8369

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

--HG--
extra : moz-landing-system : lando
2018-10-15 12:56:28 +00:00
yulia
ef5919e881 Bug 1497545 - update inspector-helper attachURL to provide a target; r=ochameau
This is part 1 of bug 1497545, and covers the most difficult case, which is migrating
attachURL to something a bit more modern and easier to read. The goal is to make our tests more
consistant with our code base now, and keep these tests maintainable.

UPDATE: I will split this up, as it is too large to review in one pass

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

--HG--
extra : moz-landing-system : lando
2018-10-12 13:45:27 +00:00
Nicolas Chevobbe
b093e93392 Bug 1498300 - Add top-level await support to the Browser Console; r=bgrins.
This patch moves the parserService from the toolbox,
which isn't accessible in the case of the Browser Console,
to the console itself.
A lightweight test is added to ensure top-level await is
supported in the browser console.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 13:57:32 +00:00
Alexandre Poirot
d5c27c6692 Bug 1499312 - Fix running devtools/client/shared/test/browser_dbg_WorkerTargetActor.attach.js individually. r=davidwalsh
MozReview-Commit-ID: 2i9NiMeOqcf

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

--HG--
extra : moz-landing-system : lando
2018-10-16 12:04:17 +00:00
Belén Albeza
5a45b66985 Bug 1494543 - Part 2: Add model + short runtime name to the sidebar item. r=jdescottes,daisuke
Added new getters to the ADB scanner so our runtime objects have now the information we need.

Note that the UX of the devices in this patch doesn't still match what we had in the mockups (icons don't match, and we also need a circle with a tick), but since we have another bug to handle the CSS in the Sidebar, we can always adapt it there. The information needed to display what is shown in the mockups should be passed in this patch –if I miss anything, give me a shout!

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

--HG--
extra : moz-landing-system : lando
2018-10-16 11:57:45 +00:00
Belén Albeza
4e1ce7bb11 Bug 1494543 - Part 1: Refactor sidebar items into different components. r=jdescottes,daisuke
This is a refactor of the components used in the sidebar. TL;DR: sidebar items now use the composition approach outlined here https://reactjs.org/docs/composition-vs-inheritance.html

Before we had a container `Sidebar` component, which in turn had `SidebarItem` components inside. The issue was that depending on what item is inside, the information and UX displayed is different. Before this patch, we had an optional commponent, `DeviceSidebarItemAction` –which was featuring a "Connect" button, and was only rendered in the runtime sidebar items. However, we now need to display even more info, so continue to pass optional components to `SidebarItem` was tricky.

What this patch does is to preserve `SidebarItem` and treat is a generic container of more specific content. This is passed via the `children` prop, which React automatically maps to the DOM content that we pass to that component (this is the same concept as slots in Web Components / Vue). `SidebarItem` now only contains the logic to select items in the sidebar and render them in `<li>` elements. Two new components, `SidebarFixedItem` (for our "static" pages) and `SidebarDeviceItem` are now the ones instancing `SidebarItem` with their specific contents.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 09:35:25 +00:00
Alexandre Poirot
6cd123eae4 Bug 1494632 - Convert WorkerClient to protocol.js front. r=jdescottes
MozReview-Commit-ID: BbtEReeG4v9

Depends on D7462

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

--HG--
extra : moz-landing-system : lando
2018-10-16 09:39:11 +00:00
Amy Chan
e4b80ceed6 Bug 1356536 - Add file type icons in network monitor. r=Honza
Added request type icons in File column of Network Monitor

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

--HG--
extra : moz-landing-system : lando
2018-10-16 10:30:23 +00:00
Cosmin Sabou
ee928c38ca Backed out 3 changesets (bug 1494549) for OSX devtools failures. CLOSED TREE
Backed out changeset e9abf60db23b (bug 1494549)
Backed out changeset 3e89e661031c (bug 1494549)
Backed out changeset 0d7e2a4ad360 (bug 1494549)
2018-10-16 12:34:38 +03:00
Julian Descottes
04e75c921a Bug 1494549 - Wait until ADB started in USB status sidebar test;r=daisuke
Depends on D8335

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

--HG--
extra : moz-landing-system : lando
2018-10-15 07:30:44 +00:00
Julian Descottes
367cd9399a Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 07:20:22 +00:00
Julian Descottes
26732aa0db Bug 1494549 - Show USB devices status in sidebar;r=ladybenko
Maybe we want to land the simplest solution for now and discuss
quickly how to style the message to reduce confusion in a follow up?

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

--HG--
extra : moz-landing-system : lando
2018-10-15 15:31:14 +00:00
Mantaroh Yoshinaga
856268ab66 Bug 1490358 - Hide menu popup when press the ctrl+t. r=birtles
If push the ctrl+t, browser will open the new tab. In this case,
the XUL popup panel doesn't hide automatically(autohide=false).
As the result of it, the popup menu will be displayed in the new tab
content. So this patch will hide the popup when receiving the ctr+t
shortcut in the MenuButton.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 07:13:04 +00:00
Mantaroh Yoshinaga
d5a153395f Bug 1485501 - Change the calculated viewport if anchor element is displayed at second screen. r=birtles
If we displayed the devtools across the second screen, the Screen.availLeft
might be not zero. I.e., Screen.availLeft point to second screen's left.
The HTMLTooltip does't consider this case, so this patch will change the
viewpor's left and right position if the left of anchor element is bigger than
screen.right.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 01:16:59 +00:00
Micah Tigley
58896ac3d6 Bug 1499052 - Enable both M1 and M2 milestones for the Flexbox inspector in DevEdidtion 64 (and keep it there). r=gl
Differential Revision: https://phabricator.services.mozilla.com/D8738

--HG--
extra : moz-landing-system : lando
2018-10-15 19:58:20 +00:00
Noemi Erli
a52231df87 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-16 01:22:27 +03:00
Noemi Erli
014b37a409 Merge inbound to mozilla-central. a=merge 2018-10-16 01:20:08 +03:00
Bogdan Tara
37c2b65d30 Backed out changeset ffb2909f660d (bug 1497312) for browser_flexbox_highlighter_color_picker_on_RETURN.js failures CLOSED TREE 2018-10-15 23:31:22 +03:00
Julien Wajsberg
c4847c5f16 Bug 1495473 - Properly propagate the error up to the client r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7299

--HG--
extra : moz-landing-system : lando
2018-10-15 17:33:58 +00:00
Nicolas Chevobbe
bcd61b77db Bug 1425542 - Move inspectObjectActor away from jsterm; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D8519

--HG--
extra : moz-landing-system : lando
2018-10-15 14:23:51 +00:00
Nicolas Chevobbe
95a682c9a9 Bug 1484989 - Prevent JsTerm to steal focus when reloading a page; r=bgrins.
JsTerm's focus function was called in clearOutput, which
we call when navigating to a new page (if Persist Logs is
not checked).
This means that we were forcing the JsTerm to be focused
each time the user navigated while having the console open.
This behavior, can be annoying, or at worst, if you're
debugging a focus issue in your content page, completely maddening.
The fix is striaghtforward: do not call focus in clearOutput.
A test is added to make sure we don't regress this.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 14:25:10 +00:00
Dorel Luca
451e26f0c6 Backed out changeset 8d7987ea4fb1 (bug 1490257) for causing android failures. CLOSED TREE 2018-10-15 14:39:00 +03:00
vinoth
7b887cfbbc Bug 1498885 - Assertion added in ContentSecurityPolicyPermitsJSAction() to not allow eval with SystemPrincipal r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8683

--HG--
extra : moz-landing-system : lando
2018-10-15 08:02:04 +00:00
Alexandre Poirot
4b85a3b27f Bug 1485660 - Adapt DebuggerClient._pools to accept Front's and (now) Pool's. r=jdescottes
MozReview-Commit-ID: EWka8fMBcK5

Depends on D7462

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:21 +00:00
Alexandre Poirot
235c66815f Bug 1485660 - Remove gcli leftover. r=jdescottes
MozReview-Commit-ID: FMuFBTseBIx

Depends on D7461

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:19 +00:00
Alexandre Poirot
5303ca93db Bug 1485660 - Convert browser_db_listtabs-03.js to async and make it use TargetFront. r=jdescottes
MozReview-Commit-ID: KLqx50gwSXS

Depends on D7460

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:17 +00:00
Alexandre Poirot
9c63f6e5ba Bug 1485660 - Special test fixes. r=jdescottes
* browser_addons_debug_webextension_popup: It looks like frame-update events are now fired earlier.
I had to move the listener to an earlier step in order to make it work.
* helper_disable_cache + toolbox.js: this test wasn't correctly listening for reconfigure request's end.
  Not clear how this test was passing before without high rate of intermittent...
* test_webextension-addon-debugging-connect.html: We can no longer listen for frame-update *before* the target object is created.
  (because we now need a TabTarget object or the TargetFront and not just the DebuggerClient)
* Fix reload request in shadereditor which may still be pending after test ends.

MozReview-Commit-ID: 49qvWSCn6nq

Depends on D8066

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:15 +00:00
Alexandre Poirot
2bab2fef72 Bug 1485660 - Adapt TabClient API to protocol one. r=jdescottes
MozReview-Commit-ID: 1dC5opkgLcQ

Depends on D7459

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:12 +00:00
Alexandre Poirot
bbd1bcdcbe Bug 1485660 - Switch from listening from DebuggerClient to TargetFront. r=jdescottes
* debugger-controller and events.js are special and require to support two cases because this is
the only production codepath that can have a TabTarget or a WorkerTarget.
Thus, leading to either TargetFront or WorkerClient on target.activeTab.
* webide.js doesn't need to listen for tabNavigated, this is redundant with tabListChanged.
* application's initializer. In case you are wondering this code can't be spawn against a WorkerTarget.
The application panel doesn't work in worker toolboxes.
* The code modified in target is in TabTarget, so we don't have to support the WorkerClient case, we always have a TargetFront here.
* I tried to update the doc file the best I can but this all feel outdated.

MozReview-Commit-ID: 2hGchebfIub

Depends on D7458

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:10 +00:00
Alexandre Poirot
e7998a50ec Bug 1485660 - Convert TabClient to a front. r=jdescottes
TabClient appears to be a client for any actor that inherits from browsing context target actor.
So let it be a front for that.

MozReview-Commit-ID: KmpClxJ53N7

Depends on D7457

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:07 +00:00
Alexandre Poirot
9c441aadb9 Bug 1485660 - Avoid exceptions when the connection is closed in middle of the actor's id retrieval. r=jdescottes
MozReview-Commit-ID: KvwkISz7OVe

Depends on D7456

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:05 +00:00
Alexandre Poirot
1fd7cbd0a7 Bug 1485660 - Allows calling DebuggerClient.close twice in a row. r=jdescottes
MozReview-Commit-ID: uACM0VtJ5E

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:03 +00:00
Jonathan Kingston
8bcd10a7ab Bug 1490257 - Add asserts and remove implied system triggering principal code r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8368

--HG--
extra : moz-landing-system : lando
2018-10-15 06:29:45 +00:00
Dorel Luca
451b0f42f9 Backed out 2 changesets (bug 1494543) for causing Devtools failures in browser/base/content/test/static/browser_parsable_css.js. CLOSED TREE
Backed out changeset 744747bb295c (bug 1494543)
Backed out changeset 5a54f333b855 (bug 1494543)
2018-10-15 12:14:17 +03:00
Florens Verschelde
b355fe0cc4 Bug 1495693 - Declare devtools-textinput colors explicitly; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8677

--HG--
extra : moz-landing-system : lando
2018-10-15 08:12:12 +00:00
Belén Albeza
96c978440f Bug 1494543 - Part 2: Add model + short runtime name to the sidebar item. r=jdescottes,daisuke
Added new getters to the ADB scanner so our runtime objects have now the information we need.

Note that the UX of the devices in this patch doesn't still match what we had in the mockups (icons don't match, and we also need a circle with a tick), but since we have another bug to handle the CSS in the Sidebar, we can always adapt it there. The information needed to display what is shown in the mockups should be passed in this patch –if I miss anything, give me a shout!

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

--HG--
extra : moz-landing-system : lando
2018-10-11 12:01:59 +00:00
Florens Verschelde
deef5c4f62 Bug 1456307 - Use more accurate flexbox icon in inspector; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8662

--HG--
extra : moz-landing-system : lando
2018-10-15 07:52:52 +00:00
Belén Albeza
b77f33a3d8 Bug 1494543 - Part 1: Refactor sidebar items into different components. r=jdescottes,daisuke
This is a refactor of the components used in the sidebar. TL;DR: sidebar items now use the composition approach outlined here https://reactjs.org/docs/composition-vs-inheritance.html

Before we had a container `Sidebar` component, which in turn had `SidebarItem` components inside. The issue was that depending on what item is inside, the information and UX displayed is different. Before this patch, we had an optional commponent, `DeviceSidebarItemAction` –which was featuring a "Connect" button, and was only rendered in the runtime sidebar items. However, we now need to display even more info, so continue to pass optional components to `SidebarItem` was tricky.

What this patch does is to preserve `SidebarItem` and treat is a generic container of more specific content. This is passed via the `children` prop, which React automatically maps to the DOM content that we pass to that component (this is the same concept as slots in Web Components / Vue). `SidebarItem` now only contains the logic to select items in the sidebar and render them in `<li>` elements. Two new components, `SidebarFixedItem` (for our "static" pages) and `SidebarDeviceItem` are now the ones instancing `SidebarItem` with their specific contents.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 11:59:26 +00:00
Florens Verschelde
ccb44df343 Bug 1471163 - Remove devtools floating scrollbars and set scrollbar-color on Linux; r=jdescottes
Remove the floating scrollbar implementation used on Linux now that CSS scrollbar-color
landed for Linux. Also force scrollbar-color for the DevTools light theme on Linux, to
avoid visual conflicts with dark GTK themes.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 17:14:10 +00:00
Csoregi Natalia
adeba320b0 Merge inbound to mozilla-central. a=merge 2018-10-15 07:53:34 +03:00
Gabriel Luong
d3d023f557 Bug 1497905 - Avoid destroying the markup iframe on navigation. r=pbro 2018-10-14 22:26:05 -04:00
Mark Striemer
bfceed545a Bug 1490366 - Part 1: Move card styles to common from about:debugging r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8101

--HG--
extra : moz-landing-system : lando
2018-10-14 19:20:02 +00:00
Patrick Brosset
25bfd6366a Bug 1498487 - Flex item outline design changes; r=gl
- Made the border for the final size thicker
- Made the delta area more transparent
- Removed the arrow-head pattern for the delta area
- Added a thin horizontal arrow instead
- Removed the background circle around the lock icon
- Added a non-blurry shadow area around it instead

The mockup also called for adding a new label for "grow".
I did not implement this yet, because this will require more
work that can be done in a separate bug. We also need to
decide what happens if there isn't enough room to display
it.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 19:24:38 +00:00
shindli
27d0f9d0d2 Backed out 5 changesets (bug 1488730, bug 1490366, bug 1488727) for bc failures in | toolkit/mozapps/extensions/test/browser/browser_details.js and browser/components/enterprisepolicies/tests/browser/browser_policy_disable_flash_plugin.js CLOSED TREE
Backed out changeset 9cd889824b1c (bug 1488730)
Backed out changeset 4d076c865471 (bug 1488727)
Backed out changeset 0b8bcd97f254 (bug 1490366)
Backed out changeset 448672780572 (bug 1490366)
Backed out changeset 7e0abd16a50b (bug 1490366)
2018-10-14 19:23:09 +03:00
Mark Striemer
c18b17b3d3 Bug 1490366 - Part 1: Move card styles to common from about:debugging r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8101

--HG--
extra : moz-landing-system : lando
2018-10-14 15:13:31 +00:00
Gurzau Raul
e8d74109ee Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-15 01:21:36 +03:00
Gabriel Luong
40306dcbc5 Bug 1496572 - Fix intermittent devtools/client/inspector/test/browser_inspector_highlighter-eyedropper-xul.js by adding a new emitted event for the inspector toolbar update. r=pbro 2018-10-13 06:53:00 +03:00
Tiberius Oros
1956192203 Disable Bug 1453214 for frequent failures on windows and linux64 r=jmaher
--HG--
extra : rebase_source : fce55192880d48bfea1006d7f8961b6433b0f8d8
2018-10-13 03:19:00 +03:00
Diego Pino Garcia
4520a114b1 Bug 1498148 - Implement text-transform: full-size-kana. r=xidorn 2018-10-14 09:42:24 +11:00
Noemi Erli
e350ad46ad Backed out changeset a00b402fb8e8 (bug 1498148) for Linting failure in builds/worker/checkouts/gecko/tools/lint/wpt.yml CLOSED TREE 2018-10-14 00:12:12 +03:00
Diego Pino Garcia
d8fa9f97a3 Bug 1498148 - Implement text-transform: full-size-kana. r=xidorn 2018-10-13 05:03:00 +03:00
Olli Pettay
32f9fcc2d3 Bug 1498380 - devtools UI relies on old Gecko's <button> hit testing, r=pbro 2018-10-12 14:14:58 +03:00
Daisuke Akatsuka
4fb0e9fd75 Bug 1494847 - Part 4: Remove backward compatibility codes before version 62. r=pbro
Depends on D7687

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

--HG--
extra : moz-landing-system : lando
2018-10-12 13:33:54 +00:00
Daisuke Akatsuka
2558c76250 Bug 1494847 - Part 3: Add test for negative playback rate. r=pbro
Depends on D7686

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

--HG--
extra : moz-landing-system : lando
2018-10-12 07:01:40 +00:00
Daisuke Akatsuka
984d6868a8 Bug 1494847 - Part 2: Set proper currentTime for negative playback rate. r=pbro
Depends on D7685

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

--HG--
extra : moz-landing-system : lando
2018-10-12 06:36:37 +00:00
Daisuke Akatsuka
96b09f29f1 Bug 1494847 - Part 1: Show proper graph for negative playback rate. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D7685

--HG--
extra : moz-landing-system : lando
2018-10-13 05:39:18 +00:00
Tim Nguyen
53b1b96828 Bug 1497969 - Add a way to emulate :focus-within pseudo-class. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8275

--HG--
extra : moz-landing-system : lando
2018-10-12 21:56:44 +00:00
Gabriel Luong
30fe8ea044 Bug 1499483 - Make the Layout view the default sidebar tab. r=pbro 2018-10-17 17:00:35 -04:00
Dorel Luca
2b0bec5ab3 Merge mozilla-central to mozilla-inbound. CLOSED TREE
--HG--
extra : amend_source : d757a37614ac9d59e154d34ede3ca871a643cdb7
2018-10-18 02:02:07 +03:00
Daniel Varga
77ea573b38 Backed out changeset 0658fbb91e05 (bug 1499483) for devtools chrome failure at devtools/client/inspector/test/browser_inspector_sidebarstate.js on a CLOSED TREE
--HG--
extra : amend_source : 6a43821d9f34fe08838256a3621a4cdbe9beeb94
2018-10-18 01:58:17 +03:00
Gabriel Luong
a289682544 Bug 1499483 - Make the Layout view the default sidebar tab. r=pbro 2018-10-17 17:00:35 -04:00
Gabriel Luong
5e9e0795a4 Bug 1317102 - Part 4: Disable grid highlighter toggles in the rules when the max highlighter is reached. r=jdescottes 2018-10-17 16:51:40 -04:00
Gabriel Luong
df78cb2c49 Bug 1500717 - Parallelize the toolbox loading the inspector's iframe and initializing the inspector. r=pbro 2018-10-22 12:20:58 -04:00
Sebastian Hengst
af56e23259 merge mozilla-central to mozilla-inbound
--HG--
rename : devtools/client/aboutdebugging-new/aboutdebugging.css => devtools/client/aboutdebugging-new/src/base.css
extra : rebase_source : 017f7ca834f9e4ceba4a5a0e392a80f54f1aa54c
2018-10-22 20:37:38 +03:00
Gabriel Luong
a5bf5fa85a Bug 1500689 - Only update the frame button checked state if it is visible. r=mtigley 2018-10-22 13:29:04 -04:00
Coroiu Cristina
79e134e1de Backed out 2 changesets (bug 1500717, bug 1500701) for browser-chrome failures at browser/test-oop-extensions/browser_ext_devtools_inspectedWindow.js on a CLOSED TREE
Backed out changeset 4fbd733460be (bug 1500701)
Backed out changeset 6cd064e0fbd9 (bug 1500717)
2018-10-22 20:19:52 +03:00
Makoto Kato
b0cc006437 Bug 1492736 - Part 2. Acquire wake lock when device actor is attached. r=ochameau
Use wake lock to keep screen when device is attached from debugger.

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

--HG--
extra : rebase_source : 4f204b8ad598cca981987b8661d67aecde3de818
2018-10-10 13:47:51 +09:00
Gabriel Luong
2e308cc2ad Bug 1497312 - The flexbox highlighter color should change on input from the color swatch. r=pbro 2018-10-15 13:18:15 -04:00
David Walsh
9b750eabd8 Bug 821610 - Provide methods to set and remove XHR breakpoints within thread client r=loganfsmyth 2018-10-12 13:00:35 -05:00
Gabriel Luong
873662cc39 Bug 1500701 - Lazy load async-storage in manager.js. r=mtigley 2018-10-22 12:21:40 -04:00
Gabriel Luong
0599e746d6 Bug 1500717 - Parallelize the toolbox loading the inspector's iframe and initializing the inspector. r=pbro 2018-10-22 12:20:58 -04:00
Gabriel Luong
d6f4b6f2ba Bug 1501393 - Remove the await call to block on markuploaded. r=pbro 2018-10-23 21:20:31 -04:00
shindli
433bc569fb Backed out changeset 646f2d021c11 (bug 1499042) for X failures in devtools/client/netmonitor/test/unit/test_mdn-utils.js 2018-10-19 17:44:53 +03:00
Narcis Beleuzu
516255f90e Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : browser/components/payments/test/browser/browser_payments_onboarding_wizard.js => browser/components/payments/test/browser/browser_onboarding_wizard.js
2018-10-19 16:34:08 +03:00
bb00998598 Bug 1499042 - "Fix learn more links in the Network panel". r=Honza 2018-10-18 06:54:00 +03:00
Bogdan Tara
67676cb1a7 Backed out changeset e7f9ba7e8ac2 (bug 821610) for ES lint failure CLOSED TREE 2018-10-12 19:52:47 +03:00
Annshul Malik
8eead6424d Bug 821610 - Update thread-client to work with xhr breakpoints
Differential Revision: https://phabricator.services.mozilla.com/D8544

--HG--
extra : moz-landing-system : lando
2018-10-12 14:57:03 +00:00
Bogdan Tara
e1dc69e799 Backed out changeset 94ccc53c61a7 (bug 1488375) for test_memory_allocations_0x.html failures CLOSED TREE 2018-10-12 19:18:18 +03:00
Bogdan Tara
9520ad8c07 Backed out changeset 5b5ed02f86c7 (bug 1498487) for browser_all_files_referenced.js failures CLOSED TREE 2018-10-12 19:13:10 +03:00
yulia
cd546f12d8 Bug 1488375 - Use target.getFront to instantiate MemoryFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7097

--HG--
extra : moz-landing-system : lando
2018-10-12 13:38:21 +00:00
Patrick Brosset
1262b85689 Bug 1498487 - Flex item outline design changes; r=gl
- Made the border for the final size thicker
- Made the delta area more transparent
- Removed the arrow-head pattern for the delta area
- Added a thin horizontal arrow instead
- Removed the background circle around the lock icon
- Added a non-blurry shadow area around it instead

The mockup also called for adding a new label for "grow".
I did not implement this yet, because this will require more
work that can be done in a separate bug. We also need to
decide what happens if there isn't enough room to display
it.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 13:45:14 +00:00
Csoregi Natalia
de7b5dcc69 Merge mozilla-central to autoland. CLOSED TREE 2018-10-12 13:18:41 +03:00
Csoregi Natalia
28fe656de6 Merge inbound to mozilla-central. a=merge 2018-10-12 13:14:37 +03:00
Julien Wajsberg
0e86c07238 Bug 1498331 - Supports the case where EventEmitter.off is called with more than 3 arguments r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D8445

--HG--
extra : moz-landing-system : lando
2018-10-12 08:39:32 +00:00
Patrick Brosset
58e1a1c0d9 Bug 1495717 - More user-friendly Flex item sizing information; r=gl
MozReview-Commit-ID: 3cSeShKP6TE

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

--HG--
extra : moz-landing-system : lando
2018-10-12 08:46:34 +00:00
Patrick Brosset
5deff44e6f Bug 1497521 - Force the new flexbox inspector ON before running its tests; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D8089

--HG--
extra : moz-landing-system : lando
2018-10-12 05:04:39 +00:00
Narcis Beleuzu
e09f2e2622 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-12 06:53:11 +03:00
Michael Ratcliffe
d2d39186f6 Bug 1478481 - Flexbox highlighter overlay is wrong size, in page with full-page-zoom applied r=gl
- Added AutoRefreshHighlighter flag to AutoRefreshHighlighter. This ensures that getQuads() ignores the zoom factor.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 23:59:45 +00:00
Narcis Beleuzu
c31a01ef52 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-12 00:57:21 +03:00
Narcis Beleuzu
d30168f45c Merge inbound to mozilla-central. a=merge 2018-10-12 00:48:03 +03:00
Brindusan Cristian
e1f4f3ac73 Backed out changeset 0ff0cb536428 (bug 1497969) for devtools failures on browser_rules_add-rule-pseudo-class.js. CLOSED TREE 2018-10-12 00:00:47 +03:00
Gabriel Luong
48144773f9 Bug 1497187 - Hide the flexbox container properties in the flex item accordion. r=pbro 2018-10-11 12:05:08 -04:00
Gabriel Luong
65571e884a Bug 1495775 - Flex items should be highlighted when hovered over in the flex item list. r=pbro 2018-10-11 12:00:37 -04:00
Gabriel Luong
5b7da2a429 Bug 1497210 - Ensure a valid flex item prop is provided to the FlexItemSelector. r=pbro 2018-10-11 11:59:08 -04:00
Patrick Brosset
ff2ee04ec2 Bug 1490101 - Avoid overflowing the layout tab when flex elements are long; r=rcaliman
Fixes the 3 places where long element Reps can appear:
- as a accordion header as "flex item of div..."
- as a flex item in the list of items for a container
- as a flex container
To fix this, I added text-overflow:ellipsis in a few places and made sure the Rep
was not pushing other things too far behind the viewport.
I also made the layout sidebar overflow-x:hidden, because it doesn't need to
scroll sideways (if the sidebar is too thin, then the box-model diagram might
overflow, but it has its own horizontal scrollbar).

Finally, I removed the inspector select icon next to the Flex Container Rep
because usually the element is already selected anyway. If it's not, then you
can use the back arrow to go back to the container.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 15:31:53 +00:00
Martin Stransky
d6abc8d98d Bug 1496349 - Add background to connection info box, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8209

--HG--
extra : moz-landing-system : lando
2018-10-11 12:28:42 +00:00
yulia
7b4018cba7 Bug 1488375 - make lazyLoadFront errors more specific; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8197

--HG--
extra : moz-landing-system : lando
2018-10-10 15:39:32 +00:00
yulia
55c6df01ea Bug 1488377 - remove outdated backwards compat code; r=ochameau
Depends on D7886

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

--HG--
extra : moz-landing-system : lando
2018-10-10 15:37:11 +00:00
Noemi Erli
4e75dfc2f6 Backed out changeset 06f4b6597f74 (bug 1497969) for failures in devtools/client/inspector/rules/test/browser_rules_pseudo_lock_options.js 2018-10-11 15:18:45 +03:00
Tim Nguyen
a59e428226 Bug 1497969 - Add a way to emulate :focus-within pseudo-class. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8275

--HG--
extra : moz-landing-system : lando
2018-10-11 09:23:09 +00:00