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

17827 Коммитов

Автор SHA1 Сообщение Дата
yulia 39e4903e66 Bug 1574401 - allow reparenting r=rcaliman,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D44133

--HG--
extra : moz-landing-system : lando
2019-10-02 09:49:12 +00:00
yulia cd1a3bfb7b Bug 1574401 - remove nodeFront's connectToFrame r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D45368

--HG--
extra : moz-landing-system : lando
2019-10-02 09:49:02 +00:00
yulia 13b4624bbb Bug 1574401 - move listRemoteFrame from targets to mainRoot and descriptors r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D45367

--HG--
extra : moz-landing-system : lando
2019-10-02 09:48:47 +00:00
Nicolas Chevobbe 99a12bc622 Bug 1584973 - Always lazy load Reps bundle. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D47729

--HG--
extra : moz-landing-system : lando
2019-10-02 08:05:57 +00:00
Nicolas Chevobbe 529ab35816 Bug 1584973 - Expose object inspector's reducer file. r=jlast.
This patch exposes the objectInspector reducer as a regular
file that can be required in the devtools codebase.
This should make things faster to start as we won't need
to load the entire bundle (especially for the inspector where
the reps is only used when navigating to specific subpanels).
This means we need to remove the flow typing for now since
we don't have a cross-toolbox build process like we have
in the debugger.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 08:05:28 +00:00
Jason Laster 9c5a0d2916 Bug 1581562 - Empty debugger while debugging watchpoints. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D47705

--HG--
extra : moz-landing-system : lando
2019-10-02 02:24:09 +00:00
Daisuke Akatsuka 4a9f1d2875 Bug 1456779: Add test for the computed view updating. r=gl
Depends on D46119

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

--HG--
extra : moz-landing-system : lando
2019-09-24 04:07:20 +00:00
Brian Hackett 292b419f8b Bug 1578790 - Don't fetch breakpoint positions unless they are needed, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D47782

--HG--
extra : moz-landing-system : lando
2019-10-01 15:03:42 +00:00
Ricky Stewart 807b3a0bf2 Bug 1562996 - Add a GeneratedFile template to get rid of some of the boilerplate involved in interfacing with GENERATED_FILES. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47019

--HG--
extra : moz-landing-system : lando
2019-10-01 18:10:16 +00:00
Gabriel Luong f30af91161 Bug 1456779: Update the computed view when the 3 pane rule view is updated. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D46360

--HG--
extra : moz-landing-system : lando
2019-10-01 18:44:34 +00:00
Oana Pop Rus 781a9a9348 Backed out 2 changesets (bug 1584973) for devtools node failure on a CLOSED TREE
Backed out changeset c06273b25769 (bug 1584973)
Backed out changeset e63ea229519d (bug 1584973)
2019-10-02 02:30:42 +03:00
Tom Ritter 61213de3b1 Bug 1582577 - Refactor a data: loadProcessScript from DevTools r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D46954

--HG--
extra : moz-landing-system : lando
2019-09-24 15:24:33 +00:00
Nicolas Chevobbe 54186249e9 Bug 1584973 - Always lazy load Reps bundle. r=Honza.
Depends on D47728

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

--HG--
extra : moz-landing-system : lando
2019-10-01 09:36:51 +00:00
Nicolas Chevobbe a1ee2584a0 Bug 1584973 - Expose object inspector's reducer file. r=jlast.
This patch exposes the objectInspector reducer as a regular
file that can be required in the devtools codebase.
This should make things faster to start as we won't need
to load the entire bundle (especially for the inspector where
the reps is only used when navigating to specific subpanels).
This means we need to remove the flow typing for now since
we don't have a cross-toolbox build process like we have
in the debugger.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 15:19:44 +00:00
Nicolas Chevobbe 1d1b0dbde2 Bug 1585012 - Don't dispatch RELEASED_ACTORS action when no actors were released. r=davidwalsh.
Differential Revision: https://phabricator.services.mozilla.com/D47738

--HG--
extra : moz-landing-system : lando
2019-10-01 14:52:20 +00:00
Brian Hackett ea7d31a7d8 Bug 1583671 - Allow pausing on exceptions in workers, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D47320

--HG--
extra : moz-landing-system : lando
2019-10-01 15:07:45 +00:00
Jason Laster b398214772 Bug 1583447 - Fix BrowserConsole "this._debuggerSourcesSeen is null". r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D46988

--HG--
extra : moz-landing-system : lando
2019-10-01 06:46:37 +00:00
Florens Verschelde 64ebe3ef33 Bug 1585413 - Use common add icon button in Request Blocking panel; r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D47801

--HG--
extra : moz-landing-system : lando
2019-10-01 19:57:42 +00:00
Anny Gakhokidze 4b5f88535e Bug 1582531 - Update fission annotations for mochitests, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47646

--HG--
extra : moz-landing-system : lando
2019-10-01 14:24:15 +00:00
Florens Verschelde 6b05979f00 Bug 1584742 - Adjust input and button spacing in Storage toolbars; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D47538

--HG--
extra : moz-landing-system : lando
2019-10-01 12:20:32 +00:00
Florens Verschelde 3103dbf967 Bug 1563291 - Use shared error icon and icon colors for Network security state icons; r=Honza,Harald
- Use the shared error.svg icon for security errors.
- Make the Netmonitor's padlock icons accept colors from CSS, and use the same colors as Console for errors and warnings.
- Turn all security state icons white in selected rows.
- Tweak some icons, e.g. make the shield icon's strokes a full 1px instead a slightly thinner strokes which made

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

--HG--
extra : moz-landing-system : lando
2019-10-01 11:11:17 +00:00
Nicolas Chevobbe 64388a8a8a Bug 1585271 - Remove custom defer function in Front.js. r=ochameau.
We weren't using the shared defer function  because
at some point it was still using Promise.jsm,
which is slow.
But since Bug 1388054, it's not using Promise.jsm anymore,
so we can use the shared function.

We take this as an opportunity to clean up
the shared defer file comments.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 09:41:24 +00:00
Ademílson F. Tonato 74903d6ef8 Bug 1584520 - Disable node picker and eyedropper before creating a new node r=devtools-inspector-reviewers,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D47461

--HG--
extra : moz-landing-system : lando
2019-10-01 10:10:07 +00:00
Nicolas Chevobbe 815f1fbef0 Bug 1584244 - Fix invoke getter action on quoted property. r=Honza.
When clicking the invoke button on a property that
needs to be quoted, e.g. hello-world, the result
was undefined.
That's because we were sending the property name to
the server with the surrounding quotes.
This patch fixes the issue and adds a couple of test
case to make sure we don't regress.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 13:17:22 +00:00
Nicolas Chevobbe a1f2cba28e Bug 1582700 - Remove webconsole specific thunk and use shared thunk-with-options. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D47577

--HG--
extra : moz-landing-system : lando
2019-10-01 09:48:08 +00:00
Daisuke Akatsuka 1b2e6989d9 Bug 1475182: Make the duration of animations longer by the playback rate. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D47726

--HG--
extra : moz-landing-system : lando
2019-10-01 06:59:03 +00:00
Pranshu Chittora 08eed7c3be Bug 1584020 - Dimension overlay formats sizes as y-x, from x-y r=jdescottes
Changes the format of dimensions in inspector to (Y - X) from (X - Y)

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

--HG--
extra : moz-landing-system : lando
2019-10-01 06:28:21 +00:00
Nicolas Chevobbe 40ffac0251 Bug 1582697 - Don't add the task middleware by default in create-store. r=davidwalsh.
The disableTask options is renamed to enableTaskMiddleware,
which defaults to false.

This caused failure in the dom mutation breakpoint test, because
we weren't waiting until the call to the server to remove the
breakpoints were done.
It wasn't an issue before because this was handle by the task
middleware, which catch rejections.
We fix this by only dispatching the action when the breakpoints are
indeed removed. We also tweak to waitForAllElements helper to be
able to wait for a specific count of element (it used to resolve
when there was at least the specified count, which is not ideal
when trying to assert removal of an element).

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

--HG--
extra : moz-landing-system : lando
2019-09-30 15:57:46 +00:00
chujun b13faffe30 Bug 1579589 Never pause for right clicking gutter
Add a context menu item to gutter menu
Update Mochitest

{F1617051}

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

--HG--
extra : moz-landing-system : lando
2019-09-30 17:28:27 +00:00
Florens Verschelde c1cbbadb6f Bug 1568794 - Consolidate bg-yellow and contrast-background devtools theme variables; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D47547

--HG--
extra : moz-landing-system : lando
2019-09-30 17:31:42 +00:00
Micah Tigley 47ee24af1f Bug 1579133 - Screenshot page content with embedded RDM UI. r=gl
Adds another method on the Emulation actor that screenshots the page content. Here, another instance of the ScreenshotActor is managed by the Emulation actor. The ScreenshotActor already provides methods to handle capturing page content along with additional options such as screenshotting the full page, which we may want to use in the future.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 14:59:01 +00:00
chujun 260d8cb72a Bug 1574581 - Outline should remain in sync with the editor WIP
Editor listens to click events and updates location;
Outline.js does a search in symbols, adds CSS class;
Add a Mochitest

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

--HG--
extra : moz-landing-system : lando
2019-09-30 15:34:44 +00:00
Sorin Davidoi 23c5bff5ce Bug 1584209 - Summary: Fix crash when mime-type filter text is missing r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D47563

--HG--
extra : moz-landing-system : lando
2019-09-30 15:10:03 +00:00
Julian Descottes ad29c8efa2 Bug 1583444 - Stop using win.top in DevTools tests r=nchevobbe
Depends on D46959

For those tests, using win.top was the same as using win, and did not have any impact on the asserts performed in the test.
In particular, the AutocompletePopup constructor calls for a "toolboxDoc", so passing the host document is actually more correct.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 09:53:26 +00:00
Julian Descottes e8c33bda92 Bug 1583444 - Reuse DevToolsUtils.getTopWindow in HTMLTooltip r=yzen
Depends on D46958

The getTopWindow logic was duplicated between DevToolsUtils and HTMLTooltip.
This removes the duplication and adds a fixture to the accessibility panel to avoid loading the actual DevToolsUtils file in jest tests.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 09:53:33 +00:00
Julian Descottes 34f1606151 Bug 1583444 - Stop using win.top in devtools/shared/layout/utils.js r=pbro
Depends on D46957

We are updating three call sites that were still relying on window.top to get the topmost window.

For `getFrameOffsets` and `getRect`, they are currently only called with a non-null `boundaryWindow` argument.
That's why this didn't trigger any regression.

For `getFrameElement`, I could only find STRs that don't have any user impact.
For instance, when the BrowserToolbox debugs a page where you open DevTools, this will load the toolbox in an iframe.
This load will trigger `onFrameLoad` in the walker actor. And because we were using `win.top`, getFrameElement would return null, and onFrameLoad will not emit mutations.
But I couldn't see any scenario where this had an actual impact for users.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 09:53:15 +00:00
Julian Descottes 39e9be1b47 Bug 1583444 - Stop using window.top in WebConsole codebase r=nchevobbe
This changesets removes some webconsole callsites that were relying on window.top, but didn't trigger any regression.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 09:51:44 +00:00
David Walsh a3c2a8e77d Bug 1581874 - Prevent React error for missing keys r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D47503

--HG--
extra : moz-landing-system : lando
2019-09-27 21:28:11 +00:00
Brian Hackett 18c2123024 Bug 1583424 - Watch for missing threads in source tree, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D47289

--HG--
extra : moz-landing-system : lando
2019-09-28 13:42:54 +00:00
Brian Hackett 0526fcd23a Bug 1583174 - Watch for exceptions being thrown while getting a script's breakpoint positions, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D47269

--HG--
extra : moz-landing-system : lando
2019-09-27 21:57:28 +00:00
championshuttler e14ec25254 Bug 1584580 - Remove white background from Disabled XHR Breakpoint items. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D47463

--HG--
extra : moz-landing-system : lando
2019-09-27 20:54:35 +00:00
Miriam b52f6bd330 Bug 1581447 - Fix event breakpoints ignoring blackboxed files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D47120

--HG--
extra : moz-landing-system : lando
2019-09-27 20:40:41 +00:00
David Walsh 69ddf4a3e7 Bug 1582734 - Fix context menu accelerator text r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D47473

--HG--
extra : moz-landing-system : lando
2019-09-27 19:23:26 +00:00
David Walsh 03260fc20b Bug 1584576 - Prevent error in inline preview action r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D47457

--HG--
extra : moz-landing-system : lando
2019-09-27 17:14:44 +00:00
Michael Ratcliffe b483d7e76a Bug 1581339 - Inactive CSS: Tooltip wording updates r=flod,fluent-reviewers,pbro
Differential Revision: https://phabricator.services.mozilla.com/D47119

--HG--
extra : moz-landing-system : lando
2019-09-26 12:53:28 +00:00
David Walsh 5e1d5d1da0 Bug 1580624 - Fix XHR breakpoints label for paused overlay r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D47122

--HG--
extra : moz-landing-system : lando
2019-09-26 22:01:17 +00:00
Julian Descottes 24ba8b95f4 Bug 1584528 - Use openDocLink to open deprecation links in DevTools settings r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D47434

--HG--
extra : moz-landing-system : lando
2019-09-27 14:31:16 +00:00
Anny Gakhokidze f1c694e18f Bug 1582531 - Update fission annotations for skipped tests that are now passing succesfully, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47347

--HG--
extra : moz-landing-system : lando
2019-09-27 14:25:10 +00:00
Sorin Davidoi b44e43d6a5 Bug 1403051 - Server Timings. r=Honza
Implements visualization for Server Timings.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 14:19:35 +00:00
Nicolas Chevobbe 0dc6765801 Bug 1582866 - Make the inspector extension sidebar overflow. r=rpl.
Differential Revision: https://phabricator.services.mozilla.com/D47273

--HG--
extra : moz-landing-system : lando
2019-09-27 10:25:31 +00:00