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

18555 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe acc49289d6 Bug 1599805 - Fix React props in JSTerm. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D55240

--HG--
extra : moz-landing-system : lando
2019-11-29 09:59:41 +00:00
Alexandre Poirot d7d15743e1 Bug 1591961 - Use short syntax for functions of DebuggerClient. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D54206

--HG--
extra : moz-landing-system : lando
2019-11-29 09:03:54 +00:00
Alexandre Poirot d96deef279 Bug 1591961 - Remove correctly types unsollicited packets. r=jdescottes
It looks like there is only networkEventUpdate which isn't 100% correctly typed.
It appears in specs, but one test (test_network_security-hpkp.html) is still failing if we remove it.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 09:03:46 +00:00
Alexandre Poirot a4a5f372a6 Bug 1591961 - Remove now unused DebuggerClient.requester. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D54204

--HG--
extra : moz-landing-system : lando
2019-11-29 09:03:44 +00:00
Emilio Cobos Álvarez 381e168847 Bug 1600084 - Allow to edit a ShadowRoot's html, by modifying its inner, not outerHTML. r=jdescottes
Turns out this was pretty easy to support, and I think it is useful.

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

--HG--
extra : moz-landing-system : lando
2019-11-28 23:08:51 +00:00
Alexandre Poirot 5ce7bb5816 Bug 1599037 - Fix RootActor.listRemoteFrames against non-browser windows. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D54465

--HG--
extra : moz-landing-system : lando
2019-11-28 09:53:16 +00:00
Nazım Can Altınova c413bb265b Bug 1599745 - Update default values of profiler recording preferences. r=julienw
This patch:
- Removes the responsiveness feature from the default features since we don't
  have it anymore.
- Adds "Renderer" thread to the default threads list. That is needed to capture
  screenshots with webrender.

Depends on D55103

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

--HG--
extra : moz-landing-system : lando
2019-11-28 17:37:29 +00:00
Nazım Can Altınova b2fd37c431 Bug 1599745 - Use the constant pref variables inside the file instead of hardcoding them. r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D55103

--HG--
extra : moz-landing-system : lando
2019-11-28 17:17:42 +00:00
Nazım Can Altınova e77b282b59 Bug 1599745 - Register all performance panel recording preferences and move their default values there. r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D55102

--HG--
extra : moz-landing-system : lando
2019-11-28 17:19:54 +00:00
Nazım Can Altınova e4cc74e4a7 Bug 1599745 - Fix the profiler popup panel preference test. r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D55101

--HG--
extra : moz-landing-system : lando
2019-11-28 17:25:13 +00:00
Yura Zenevich 47e52a19c9 Bug 1592300 - remove all uses of gToolbox from a11y panel. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D54843

--HG--
extra : moz-landing-system : lando
2019-11-28 15:37:25 +00:00
Yura Zenevich 9eb54b9950 Bug 1590493 - remove unnecessary calls to actorHasMethod and update supports state across the panel. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D54569

--HG--
extra : moz-landing-system : lando
2019-11-28 15:37:18 +00:00
Sorin Davidoi 215a319521 Bug 1599468 - fix(devtools memory panel): vertically align text in the interface for viewing nodes and retaining paths r=fvsch,julienw
Some text in the toolbar wasn't properly vertically aligned in this interface.

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

--HG--
extra : moz-landing-system : lando
2019-11-28 15:21:51 +00:00
Nicolas Chevobbe dc60a356d0 Bug 1599694 - Fix browser_webconsole_object_inspector_key_sorting intermittent. r=Honza.
The test is sometimes failing because there's a pending
connection to the server while the connection is closed.
My guess is that somehow the test could have been checking
other nodes instead of the current evaluated on to wait
for a node to be fully expanded.
The fix made here is to make sure that we only have one
node displayed when testing the object inspector.

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

--HG--
extra : moz-landing-system : lando
2019-11-28 14:10:29 +00:00
Emilio Cobos Álvarez 88245fd9eb Bug 1598944 - Test context menu in shadow root nodes. r=jdescottes
This covers all the previous changes, afaict.

Depends on D55098

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

--HG--
extra : moz-landing-system : lando
2019-11-28 14:39:38 +00:00
Emilio Cobos Álvarez 06bd8b4c06 Bug 1598944 - Allow to paste innerHTML in fragments. r=jdescottes
No reason not to.

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

--HG--
extra : moz-landing-system : lando
2019-11-28 14:39:55 +00:00
Emilio Cobos Álvarez 1df3a868f8 Bug 1598944 - Don't enable the "Delete" context menu for fragments. r=jdescottes
Right now it's enable but it throws with "remove() is not a function".

Depends on D55096

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

--HG--
extra : moz-landing-system : lando
2019-11-28 13:54:03 +00:00
Emilio Cobos Álvarez 9932b7fb26 Bug 1598944 - Rename isSelectionElement to isElement in markup-context-menu.js. r=jdescottes
Depends on D54422

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

--HG--
extra : moz-landing-system : lando
2019-11-28 13:55:59 +00:00
Emilio Cobos Álvarez 775e13a2de Bug 1598944 - Allow to copy innerHTML of document fragments (including ShadowRoot). r=jdescottes
As they have an innerHTML property, and it is useful.

I didn't find relevant tests for this. browser_inspector-traversal.js tests only
the server bits.

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

--HG--
extra : moz-landing-system : lando
2019-11-28 12:02:43 +00:00
hayden f600353648 Bug 1593831 - WebSockets: Display separate uploaded and downloaded transfer size r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D54059

--HG--
extra : moz-landing-system : lando
2019-11-28 14:14:12 +00:00
Neil Deakin 779f56be04 Bug 1595155, support click handler which allows modifier+click in out of process iframes, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D52642

--HG--
rename : browser/modules/ContentClick.jsm => browser/actors/ClickHandlerParent.jsm
extra : moz-landing-system : lando
2019-11-27 19:30:19 +00:00
Nicolas Chevobbe a5bc22ec50 Bug 1599641 - Directly log an exception in event emitter. r=jdescottes.
We were logging a concatenated string of the
exception and its stack trace, which means
that it would show up in the console as a simple
string (i.e. without clickable links).
Logging the exception should make it more readable
in the browser console.

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

--HG--
extra : moz-landing-system : lando
2019-11-28 10:18:45 +00:00
Daisuke Akatsuka 2eb102ba7b Bug 1590982: Add a jest for UnsupportedBrowserItem component. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D52975

--HG--
extra : moz-landing-system : lando
2019-11-18 07:29:13 +00:00
Daisuke Akatsuka cf3391de83 Bug 1590982: Add a jest for UnsupportedBrowserList component. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D52974

--HG--
extra : moz-landing-system : lando
2019-11-18 07:29:09 +00:00
Daisuke Akatsuka fea9a85125 Bug 1590982: Iconize unsupported browsers. r=rcaliman,ladybenko,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D52973

--HG--
extra : moz-landing-system : lando
2019-11-28 08:46:41 +00:00
Daisuke Akatsuka 534fe99e5a Bug 1590982: Introduce UnsupportedBrowserItem component. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D52971

--HG--
extra : moz-landing-system : lando
2019-11-18 10:20:50 +00:00
Daisuke Akatsuka 15a0bcaf88 Bug 1590982: Introduce UnsupportedBrowserList component. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D52970

--HG--
extra : moz-landing-system : lando
2019-11-18 07:28:50 +00:00
Daisuke Akatsuka a37b33320c Bug 1592763: Use TargetList api for ChangesView. r=ochameau,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D54256

--HG--
extra : moz-landing-system : lando
2019-11-28 01:57:39 +00:00
Noemi Erli cb80cbb282 Backed out 2 changesets (bug 1590493, bug 1592300) for causing ES Lint failure in test_accessible_row_context_menu.html CLOSED TREE
Backed out changeset 1a5752d4bceb (bug 1592300)
Backed out changeset 51eac37a4bbf (bug 1590493)
2019-11-28 02:39:42 +02:00
Yura Zenevich 5e3ca9feb6 Bug 1592300 - remove all uses of gToolbox from a11y panel. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D54843

--HG--
extra : moz-landing-system : lando
2019-11-27 15:35:51 +00:00
Yura Zenevich e8477ec43a Bug 1590493 - remove unnecessary calls to actorHasMethod and update supports state across the panel. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D54569

--HG--
extra : moz-landing-system : lando
2019-11-27 23:04:21 +00:00
jaril 658cf442ca Bug 1599221 - Fixed promoting and demoting of object actors with watchpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D54955

--HG--
extra : moz-landing-system : lando
2019-11-27 22:32:05 +00:00
Emilio Cobos Álvarez 3da2b668f4 Bug 1599324 - Disable layout.css.zoom-transform-hack.enabled for now. r=boris
People do like to use zoom along with transforms for legit reasons, which means
that we get this wrong.

This is unfortunate, as the whole point of the hack was fixing sites that only
used zoom without regressing sites that would do:

  zoom: 0.5;
  -moz-transform: scale(0.5);
  transform-origin: 0 0;

So we're a bit stuck here. The only way to deal with the known regressions is
parsing `zoom: 1` as invalid, which is insane, and it would probably cause other
compat issues... For now disable the pref.

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

--HG--
extra : moz-landing-system : lando
2019-11-27 22:00:15 +00:00
Jason Laster ee46777322 Bug 1571994 - Fix dbg-wasm-sourcemaps timing. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D54803

--HG--
extra : moz-landing-system : lando
2019-11-26 22:29:19 +00:00
Nazım Can Altınova 3817d21f33 Bug 1590706 - Part 2: Update devtools and popup panels to include BrowsingContext IDs. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D54145

--HG--
extra : moz-landing-system : lando
2019-11-27 14:27:48 +00:00
Mihai Alexandru Michis 096946a25f Backed out 2 changesets (bug 1590706) for causing bustages in gtest/GeckoProfiler.cpp CLOSED TREE
Backed out changeset c98daf6c7687 (bug 1590706)
Backed out changeset 4c2af658ce76 (bug 1590706)
2019-11-27 15:42:55 +02:00
Nazım Can Altınova 993e44188b Bug 1590706 - Part 2: Update devtools and popup panels to include BrowsingContext IDs. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D54145

--HG--
extra : moz-landing-system : lando
2019-11-27 12:56:00 +00:00
Julian Descottes 3c6458633a Bug 1598557 - Move all BrowserToolbox files to a dedicated folder r=ochameau
Depends on D54119

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

--HG--
rename : devtools/client/framework/ToolboxProcess.jsm => devtools/client/framework/browser-toolbox/Launcher.jsm
rename : devtools/client/framework/test/browser_browser_toolbox.js => devtools/client/framework/browser-toolbox/test/browser_browser_toolbox.js
rename : devtools/client/framework/test/browser_browser_toolbox_debugger.js => devtools/client/framework/browser-toolbox/test/browser_browser_toolbox_debugger.js
rename : devtools/client/framework/test/browser_browser_toolbox_fission_inspector.js => devtools/client/framework/browser-toolbox/test/browser_browser_toolbox_fission_inspector.js
rename : devtools/client/framework/test/browser_browser_toolbox_rtl.js => devtools/client/framework/browser-toolbox/test/browser_browser_toolbox_rtl.js
rename : devtools/client/framework/test/helpers.js => devtools/client/framework/browser-toolbox/test/helpers-browser-toolbox.js
rename : devtools/client/framework/toolbox-process-window.css => devtools/client/framework/browser-toolbox/window.css
rename : devtools/client/framework/toolbox-process-window.html => devtools/client/framework/browser-toolbox/window.html
rename : devtools/client/framework/toolbox-process-window.js => devtools/client/framework/browser-toolbox/window.js
extra : moz-landing-system : lando
2019-11-27 11:08:11 +00:00
Nicolas Chevobbe 95e076a2f6 Bug 1599135 - Load individual Rep file in inspector.r=gl.
Differential Revision: https://phabricator.services.mozilla.com/D54548

--HG--
extra : moz-landing-system : lando
2019-11-27 07:07:43 +00:00
Nicolas Chevobbe 60324df8ec Bug 1599135 - Expose all Reps file. r=jlast.
This allows consumers to directly require a single Rep file
if needed (e.g. the inspector only needs elementNode or textNode).
In order to make this work, the requires for react-dom-factories
and prop-types needed to be changed to the in-tree modules.
We also needed to modified the reps jest config, as well as the
babel config so we can run tests and still generate the reps bundle.
Finally, the dom-node-constants is modified to not use define as
it's not used as an AMD module.

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

--HG--
extra : moz-landing-system : lando
2019-11-27 07:07:30 +00:00
Bryan Kok d4a75d39ac Bug 1594988 - UI sub nodes in Watch expressions should not be editable r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D54410

--HG--
extra : moz-landing-system : lando
2019-11-26 20:22:43 +00:00
Yura Zenevich 5c47541698 Bug 1598060 - access accessibility walker front through accessible front wherever possible. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D54528

--HG--
extra : moz-landing-system : lando
2019-11-26 19:03:11 +00:00
Yura Zenevich b7e64c314b Bug 1598060 - removing walker actor/front passing as an argument where not necessary. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D54339

--HG--
extra : moz-landing-system : lando
2019-11-26 19:03:01 +00:00
Michael Ratcliffe 7629ac0f18 Bug 1599405 - Fix scrolling at narrow widths in the Rules View r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D54720

--HG--
extra : moz-landing-system : lando
2019-11-26 16:07:09 +00:00
Jason Laster 11e7ffff6f Bug 1597946 - Browser debugger goes blank. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D54001

--HG--
extra : moz-landing-system : lando
2019-11-26 17:42:14 +00:00
Nicolas Chevobbe 1ad791a1d0 Bug 1375752 - Render empty strings as <empty string> in console. r=yzen.
This only affects console api calls where one of the
argument is an empty string. Since we don't quote
string arguments for those, it was difficult to spot
an empty string there.
Jest test are added, as well as a mochitest for the
console to make sure that we don't have unwanted
side effects (for evaluation results, object with
empty string properties, ...)

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:09:00 +00:00
Sylvestre Ledru e94f355d96 Bug 1596911 - Add missing license headers on the new managed extensions r=Gijs,MattN
Depends on D53267

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:00:00 +00:00
Nicolas Chevobbe 8879b749c1 Bug 1536523 - Support performance.getEntries result in console.table. r=Honza.
PerformanceEntry values are put in the `getterValue` property in
the descriptor, so whenever we want to display a table we need
to check if the value could be in there.
This highlighted an issue in the console layout when there is a
large number of cells, which we fix in this patch.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 09:56:40 +00:00
Nicolas Chevobbe 544183d2c2 Bug 1067710 - Bump console.table columns limit to 21 to match Chrome. r=Honza.
Increasing the number of columnns highlighted some issues:
- Some element could be off-screen, the grid-template-columns
  needed to be adjusted
- headers could be cut-off, we add a title on the element to
  have the full content in a tooltip
- properties that are not defined were displayed as "undefined",
  which is not really true, and take a lot of space. We render
  them as an empty cell in such case now.

A test is added to check the max-column limit.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 13:21:12 +00:00
Michael Ratcliffe 135486b4d9 Bug 1594810 - Remove DevTools support for IndexedDB persistent storage r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D52564

--HG--
extra : moz-landing-system : lando
2019-11-23 23:30:36 +00:00