Commit Graph

19131 Commits

Author SHA1 Message Date
Stepan Stava
0bbdfa811d Bug 1594382 - Debugger - Event listener section can be toggled after clicking on log on Events checkbox r=jlast
Added 'onKeyDown' event handler with a 'stopPropagation()' method preventing the 'keydown' event from triggering on the parent element.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 20:19:09 +00:00
Oana Pop Rus
c66b8439b5 Backed out changeset d3dc60cc5291 (bug 1610562) for devtools failures in browser_inspector_inspect_node_contextmenu.js on a CLOSED TREE 2020-01-24 22:14:29 +02:00
chujun
6dbc210f59 Bug 1596323 - Do not store root in prefs when set a thread actor to project root r=jlast
When we set a thread to directory root, `item.path`, which is equal to `thread.actor` in a thread's case, is used as the project directory root and stored in `prefs`. When debugger is closed and reopened, `thread.actor` will be different. But the debugger state is initialized with an old directory root. For example, directory root is `server0.conn0.child1/thread19` from the last time, but thread is now "server0.conn1.child1/thread19."

I think it's error-prone to bump up `connX` by 1 when we see a `thread.actor` as `prefs.projectDirectoryRoot`. This patch removes the storage for threadActors, meaning when we set a thread to root, we don't keep track of it in `prefs`. Then we reopen the debugger, it doesn't show a thread as root. For other directories, `prefs` still works.

{F1862523}

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

--HG--
extra : moz-landing-system : lando
2020-01-03 15:59:30 +00:00
Yura Zenevich
139344118f Bug 1610562 - take into account multiple browsing contexts when getting a node from content DOM reference. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60545

--HG--
extra : moz-landing-system : lando
2020-01-22 16:26:37 +00:00
Luca Greco
d961c28763 Bug 1611418 - SourceMapURLService originalPositionFor should return null when sourcemaps are disable via prefs. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60956

--HG--
extra : moz-landing-system : lando
2020-01-24 13:33:45 +00:00
Luca Greco
1eaa5753b6 Bug 1609677 - Inspect the boundTargetFunction if the target object is a bound function. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D60142

--HG--
extra : moz-landing-system : lando
2020-01-24 12:58:36 +00:00
Luca Greco
05661deda5 Bug 1609671 - Inspect binding should try to get the sourcemapped location while inspecting a function. r=jdescottes,vporof
Differential Revision: https://phabricator.services.mozilla.com/D60138

--HG--
extra : moz-landing-system : lando
2020-01-24 12:58:24 +00:00
Nicolas Chevobbe
0eb4c8e236 Bug 1611143 - Update redux to v.4.0.5. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D60841

--HG--
extra : moz-landing-system : lando
2020-01-24 14:20:48 +00:00
victoria
fe94d0a768 Bug 1606990 - Simplify intro text and lighten tone r=pbro
https://github.com/firefox-devtools/ux/issues/70

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

--HG--
extra : moz-landing-system : lando
2020-01-24 13:16:35 +00:00
Julian Descottes
69c6e96262 Bug 1594522 - Ignore missing key shortcuts in DevTools startup r=nchevobbe
When uplifting localization changes to beta, language packs might only be updated a few days later.
With the current implementation of DevTools startup, any uplift of a change to key-shortcuts.properties will completely prevent devtools from starting.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 10:52:11 +00:00
Seifeddine Besbes
2bded23d2b Bug 1602591 - Change result type parameter of $x to accept strings. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D60822

--HG--
extra : moz-landing-system : lando
2020-01-24 08:47:47 +00:00
Patrick Brosset
8bb046da06 Bug 1610761 - Don't show inactivity warning on z-index if inside grid/flex r=rcaliman
In bug 1551585 we added a new inactivity warning shown on top,
right, bottom, left and z-index properties when they are used on elements
that are not positioned.
Turns out that z-index *can* be used on unpositioned elements if these
elements are grid or flex items.

In grid layouts it's useful to determine which item shows on top when
several overlap in a grid cell.

In flex layouts, z-index values other than auto create a stacking context
even if position is static.

So this change simply avoids showing the warning for z-index if the element
is a flex or a grid item.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 19:20:38 +00:00
Micah Tigley
918d65b369 Bug 1610588 Part 2: Disable failing tests for enabled browser UI r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D60772

--HG--
extra : moz-landing-system : lando
2020-01-23 22:26:58 +00:00
Brad Werth
0d9437c592 Bug 1610588 Part 1: Make pref changes in AddRDMTask be ordered relative to the test functions themselves. r=mtigley
This patch moves the pref setting of "devtools.responsive.browserUI.enabled"
within the add_task functions, so that the prefs are in a consistent state
throughout the task.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 21:24:42 +00:00
Andreea Pavel
bc1b47b96a Backed out changeset c41e5432b3c5 (bug 1609815) for build bustages at JSControl.cpp on a CLOSED TREE 2020-01-23 22:34:40 +02:00
Jason Laster
6626357ec2 Bug 1609815 - Remove Web Replay UI. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D60679

--HG--
extra : moz-landing-system : lando
2020-01-23 20:07:37 +00:00
Daisuke Akatsuka
c8b1cef022 Bug 1604126: Enable a styleeditor test that has been blocked by this bug. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60795

--HG--
extra : moz-landing-system : lando
2020-01-23 14:14:13 +00:00
Daisuke Akatsuka
7700131e56 Bug 1604126: Remove code that checks whether the document is XUL or not. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60794

--HG--
extra : moz-landing-system : lando
2020-01-23 14:14:01 +00:00
Belén Albeza
d2f4284de1 Bug 1609356 - Part 2: Fix devtools toolbox tests r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60700

--HG--
extra : moz-landing-system : lando
2020-01-22 16:42:04 +00:00
Belén Albeza
ec4650bec8 Bug 1609356 - Enable application panel in Nightly r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60143

--HG--
extra : moz-landing-system : lando
2020-01-22 16:42:17 +00:00
Mihai Alexandru Michis
a8af3a4596 Backed out 2 changesets (bug 1604126) for causing devtool failures in browser_styleeditor_fission_switch_target.js
CLOSED TREE

Backed out changeset 2840946503b2 (bug 1604126)
Backed out changeset 94392af1b184 (bug 1604126)
2020-01-23 12:16:36 +02:00
Daisuke Akatsuka
f580b9a7cd Bug 1604126: Enable a styleeditor test that has been blocked by this bug. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60795

--HG--
extra : moz-landing-system : lando
2020-01-23 08:14:48 +00:00
Daisuke Akatsuka
e9de052435 Bug 1604126: Remove code that checks whether the document is XUL or not. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60794

--HG--
extra : moz-landing-system : lando
2020-01-23 08:14:31 +00:00
Brandon Kraft
a438b78c1b Bug 1609807 - DevTools: Use label 'None' for SameSite=None cookie values. r=nchevobbe
bug-id: 1609807

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

--HG--
extra : moz-landing-system : lando
2020-01-23 07:34:27 +00:00
Greg Tatum
3851bf14af Bug 1597381 - Add tests for the about:profiling presets; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D58467

--HG--
extra : moz-landing-system : lando
2020-01-22 23:12:48 +00:00
Greg Tatum
258b0879c5 Bug 1597381 - Make testing util getNearestInputFromText generic; r=julienw
This commit changes the testing utility to be generic to work for any
input radio or checkbox on the page, where the input is located near
in the DOM to the text element.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 23:12:46 +00:00
Greg Tatum
57b03a170c Bug 1597381 - Create profiler presets for about:profiling; r=julienw
This commit creates profiler presets for the current browser. It does not
handle remote profiling yet, as there is no UI surface for it yet. The
preset setting updates happen inside of the reducers and presets, and not
the selectors. This design was chosen so that as the presets were changed,
it would actually change the settings below, making it easy to change and
customize the settings by chosing the nearest preset.

The UI designs are still in a bit of a flux, so this UI design was the
easiest to implement for the initial pass, but we don't yet have consensus
on what the UI will look like for the final design.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 23:11:49 +00:00
Julian Descottes
3621d59bc9 Bug 1610823 - Fix missing dependency for browser_browser_toolbox_fission_contentframe_inspector r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D60674

--HG--
extra : moz-landing-system : lando
2020-01-22 16:25:19 +00:00
Harald Kirschner
a5c95cb680 Bug 1610651 - Simplify regular expression matching in library detection r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D60593

--HG--
extra : moz-landing-system : lando
2020-01-22 13:59:29 +00:00
Nicolas Chevobbe
aad6b11a7d Bug 1610754 - Display falsy values in eager evaluation result. r=jlast.
We weren't displaying results when they were
falsy (0, false, empty string, ...). This is
fixed by this patch that adds a few test cases
to ensure we don't regress.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 15:29:53 +00:00
Razvan Caliman
25b1bcd155 Bug 1597125 - Keyboard navigation and triggering of swatches in Rules view. r=pbro
The fix for Bug 1478156 has made the color picker keyboard accessible. In the process, the color swatch element in the Rules view was changed from a `<span>` into a `<button>` element.

There is some strange interaction between markup structure, CSS properties and the default styling for `<button>` which causes an  unwanted line break after the button. It happens when doing a multi-line text selection to copy multiple CSS declarations to the clipboard. The bug was raised by many people on different occasions (Bug 1598686, Bug 1600519, Bug 1609891).

After a lot of investigation, I was unable to identify the exact cause for this unwanted line break after color swatches in clipboard content.

The solution I ended up using is reverting from `<button>` back to `<span>` for the swatch element. To preseve the keyboard accessibility, a "keydown" event handler is set to trigger the color picker when pressing SPACE or RETURN when the swatch element is focused. As an added benefit, all other swatches have been made keyboard accessible with the same behavior.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 16:39:18 +00:00
Jason Laster
b14b35557c Bug 1603356 - Enable Eager evaluation in Nightly. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D60519

--HG--
extra : moz-landing-system : lando
2020-01-21 16:40:51 +00:00
Nicolas Chevobbe
102218c77b Bug 1610781 - Ensure react-dom.js files are considered as part of React. r=jlast.
The react-dom file is only handled when it originates from node_modules.
This means we won't add it to the React group in stacktrace if it's loaded
as an independent file, like it's done in the devtools codebase for instance.
This patch fixes that and adds a few test cases to ensure this works
as expected.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 13:58:29 +00:00
Christoph Kerschbaumer
357ee3d14c Bug 1609877: Convert prefs for domsecurity to use static prefs. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D60403

--HG--
extra : moz-landing-system : lando
2020-01-22 11:04:17 +00:00
Michael Ratcliffe
325aed2d1f Bug 1608411 [storage] Add size column to cookies panel similar to Chrome's storage panel r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D59497

--HG--
extra : moz-landing-system : lando
2020-01-22 09:39:28 +00:00
Michael Ratcliffe
41ebc71ae2 Bug 1608890 - [Storage] Column names should match those in Chrome r=jdescottes,flod
Summary

After speaking with some of the l10n guys it is clear that whenever we don't want things translated then it shouldn't be in the `.properties` file. With this in mind I have moved the table header strings into `settings.js`.

Sorry @jdescottes, that means asking you for review again.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 09:36:40 +00:00
Michael Ratcliffe
72e93e4189 Bug 1608154 - [storage] Column order should match Chrome's storage panel r=jdescottes
Summary

I needed to make changes to `devtools/client/shared/test/browser_tableWidget_mouse_interaction.js` because it was affected by the tiny change in structure to the table. This test is full of things like `table.tbody.firstChild.firstChild.firstChild` so it should be updated at some point but I am stuck for time at the moment.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 09:33:36 +00:00
Julian Descottes
c9c4a4d0a7 Bug 1610277 - Stop emitting unused "ready" event from DevTools host r=ochameau
Depends on D59132

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

--HG--
extra : moz-landing-system : lando
2020-01-20 14:00:02 +00:00
Daisuke Akatsuka
ad136b947c Bug 1603370: Add a test for target switching on RDM. r=ochameau,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D58904

--HG--
extra : moz-landing-system : lando
2020-01-22 02:23:56 +00:00
Daisuke Akatsuka
d2f1734ab8 Bug 1603370: Reflect target switching. r=ochameau,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D58903

--HG--
extra : moz-landing-system : lando
2020-01-22 02:23:43 +00:00
Daisuke Akatsuka
b1a851beae Bug 1603370: Define currentTarget getter. r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D58902

--HG--
extra : moz-landing-system : lando
2020-01-22 02:23:36 +00:00
Csoregi Natalia
77cb44a9dc Backed out changeset f6ccc4ba38d9 (bug 1609356) for failures on browser_toolbox_dynamic_registration.js. CLOSED TREE 2020-01-22 00:28:37 +02:00
Mark Banner
e0be4a011c Bug 1608799 - Load devtools debugger's .eslintignore directly into ESLint to avoid duplication. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60148

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:38 +00:00
Julian Descottes
aa9880c96a Bug 1610576 - Remove redundant addRDMTask call in browser_picker_link.js r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D60534

--HG--
extra : moz-landing-system : lando
2020-01-21 19:35:04 +00:00
Mihai Alexandru Michis
2dab66d06e Backed out 9 changesets (bug 1607172, bug 1609998, bug 1608799) for causing xpcshell failures in test_parser.js
CLOSED TREE

Backed out changeset 7753083b67dd (bug 1609998)
Backed out changeset e6f5aac734ab (bug 1608799)
Backed out changeset 90ea35966b73 (bug 1608799)
Backed out changeset 6fafa451b3f9 (bug 1608799)
Backed out changeset e07a4aea2ae1 (bug 1608799)
Backed out changeset d69d6dfdccad (bug 1607172)
Backed out changeset 93023b1b6153 (bug 1607172)
Backed out changeset 99ce7a56080e (bug 1607172)
Backed out changeset 20aa5934c785 (bug 1607172)
2020-01-21 21:44:03 +02:00
Mark Banner
7164a847f0 Bug 1608799 - Load devtools debugger's .eslintignore directly into ESLint to avoid duplication. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60148

--HG--
extra : moz-landing-system : lando
2020-01-21 17:00:32 +00:00
Belén Albeza
fb1055410b Bug 1609356 - Enable application panel in Nightly r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60143

--HG--
extra : moz-landing-system : lando
2020-01-21 17:49:02 +00:00
Nicolas Chevobbe
45f6c5a39c Bug 1608984 - Fix flickering in eager evaluation result when typing. r=jlast.
This patch make it so that we don't set the
terminalEagerResult to null as soon as we
get the SET_TERMINAL_INPUT action (except
if the expression is falsy).
This means the eager evaluation result element
will only be updated when we get the eager
evaluation results.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 17:18:14 +00:00
Nicolas Chevobbe
3086339d55 Bug 1609935 - Don't eagerly evaluate empty expressions. r=jlast.
There's no need to make a call to the server when
we know we don't expect anything from it.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 17:16:33 +00:00
Jason Laster
dc3aa3a63a Bug 1592725 - Enable async live stacks in Nightly and DevEdition. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D59435

--HG--
extra : moz-landing-system : lando
2020-01-17 21:19:43 +00:00