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

20362 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Zartner b5e4795236 Bug 1309824 - Show proper descriptions for storage types. r=jdescottes,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D70663
2020-05-13 18:38:02 +00:00
Jason Laster bedcba7d39 Bug 1619622 - Various fixes after switching processes to the TargetList r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D74240
2020-05-13 14:45:05 +00:00
Jason Laster c5c9a96e1e Bug 1619622 - Assert the context in various additional places. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D74239
2020-05-13 14:44:57 +00:00
Alexandre Poirot 8919127993 Bug 1619622 - Stop fetching the sources twice. r=jdescottes,jlast
We already do that from actions, once per added thread.
Only the timing may be different.

Differential Revision: https://phabricator.services.mozilla.com/D72686
2020-05-13 15:10:35 +00:00
Alexandre Poirot 80bb55f6f4 Bug 1619622 - Update target/thread individually from the TargetList listeners. r=jdescottes,jlast
Differential Revision: https://phabricator.services.mozilla.com/D72685
2020-05-13 14:44:53 +00:00
Alexandre Poirot 33fed82ffa Bug 1619622 - Use the TargetList to fetch content process targets in the Debugger. r=jdescottes,jlast
Differential Revision: https://phabricator.services.mozilla.com/D65125
2020-05-13 14:44:45 +00:00
David Walsh 3c8142a051 Bug 1637469 - Rename browser_aboutdebugging_navigate_to_url.js test r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D75114
2020-05-13 15:08:31 +00:00
Julian Descottes 38c244e508 Bug 1633748 - Generate console stubs using the ResourceWatcher r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D73443
2020-05-13 12:46:49 +00:00
Christoph Kerschbaumer 026a7442f3 Bug 1636900: Remove TYPE_XBL from nsIContentPolicy. r=remote-protocol-reviewers,emilio,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D74835
2020-05-13 06:53:28 +00:00
Yura Zenevich 2d0b0bc893 Bug 1636490 - rely on garbage collection rather than disabling via UI when testing accessibility panel. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D74411
2020-05-11 17:45:54 +00:00
Micah Tigley f5ddf2c2d3 Bug 1636348 - Ensure the connection between the about:devtools-toolbox's client and server is closed. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D74467
2020-05-12 17:01:12 +00:00
Nicolas Chevobbe 46d31cc93b Bug 1631529 - Fix intermittent in browser_jsterm_editor_toggle_keyboard_shortcut.js . r=davidwalsh.
The test was failing on ccov machines because it was
timing out. The interesting part is that in the logs
we could see that a huge error was logged, because
we were hitting the IGNORED REDUX ACTION middleware,
which was about a SET_TERMINAL_EAGER_RESULT action
being blocked.
I think that logging this object was taking so much
time that it made the test timeout on slow machines.

So here we're simply waiting for the eager evaluation
result to be displayed, so we know that the action won't
be ignored.

Differential Revision: https://phabricator.services.mozilla.com/D74879
2020-05-12 17:18:46 +00:00
Florens Verschelde 2f778385e8 Bug 1634380 - Part 2: Split devtools-button and legacy devtools-toolbarbutton styles; r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D73495
2020-05-12 13:22:28 +00:00
Florens Verschelde 1fefd1dfc2 Bug 1634380 - Part 1: Flatten CSS variable dependencies for --toolbarbutton variables; r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D73494
2020-05-12 13:22:00 +00:00
Julian Descottes f3ef81b8c1 Bug 1637012 - Set devtools.browsertoolbox.fission to true in browser_resources_several_resources.js r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D74828
2020-05-12 12:22:27 +00:00
Alexandre Poirot 718bf89e62 Bug 1620966 - Move DocShell.watchedByDevtools to BrowsingContext and rename it to watchedByDevTools. r=nika,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D66037
2020-05-12 09:18:26 +00:00
Nicolas Chevobbe f1498ffff6 Bug 1634432 - Enable inspecting error object in sidebar. r=bomsy.
To enable the Open In Sidebar action, we were retrieving the
actor id of the root node of an object inspector.
But in the case of error, we don't use the object inspector
to render them, only the reps.
We still have a reference to the actor id though, so when
there's no object inspector, but that we have an actor id
ref, we enable the action.
A test case is added in a mochitest to ensure this works as
expected for an error object, and that we can observe custom
properties that are not displayed in the error rep.

This also reveiled an issue with React keys in the Error rep,
which we fix in this patch.

Differential Revision: https://phabricator.services.mozilla.com/D73301
2020-05-12 08:34:58 +00:00
Nicolas Chevobbe 90668a72e5 Bug 1607569 - Fix leak in browser_console_devtools_loader_exception. r=ochameau.
In the Browser toolbox destroy function, we now wait for
any pending connection initialization promise.
In the test we close the browser toolbox at the end.
We also need to guard a few method in the connection proxy
to ensure the instances we use are still alive before using
them.

Differential Revision: https://phabricator.services.mozilla.com/D71171
2020-05-12 07:05:27 +00:00
Julian Descottes f229755908 Bug 1620983 - Disable dom.ipc.processPrelaunch.enabled for all devtools tests r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D74612
2020-05-12 08:24:28 +00:00
Micah Tigley 89c6fbb773 Bug 1629729 - Use BrowserTestUtils.loadURI to navigate to a new URL. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D74721
2020-05-11 20:24:21 +00:00
Bogdan Tara bf91ff2f3f Backed out changeset 60e4890ac49a (bug 1636348) for browser_aboutdebugging_navigate_to_url.js failures CLOSED TREE 2020-05-12 00:09:23 +03:00
Tom Schuster 7824fc6e57 Bug 1277801 - Remove Object.prototype.toString classname fallback. r=jwalden
Similar to a patch by Robin Templeton <robin@igalia.com>

Differential Revision: https://phabricator.services.mozilla.com/D72459
2020-05-11 20:53:10 +00:00
Boris Chiou bfdb4fb6ed Bug 1540906 - Disable the pref of synchronizing transform animations with geometric animations on nightly. r=hiro
The original site issue (https://trello.com/) seems not obvious on nightly
now. (See Bug 1301305 for more details.) So perhaps we could give this a
trial to disable this pref, for the better performance in other cases.

Differential Revision: https://phabricator.services.mozilla.com/D74278
2020-05-11 20:40:48 +00:00
Markus Stange 74da9ffadf Bug 1617246 - Always consult objdirs for symbols. r=gregtatum
This moves some symbolication code out of browser.js and into a new module symbolication.jsm.js.

It also threads the pageContext parameter through to getSymbolsFromThisBrowser so that it can
respect the correct objdir pref. This part is probably more complicated than necessary.

Differential Revision: https://phabricator.services.mozilla.com/D63914
2020-05-11 19:52:53 +00:00
Cosmin Sabou db290306ef Backed out changeset 0be5f9822cad (bug 1607569) because it shouldn't have been landed yet. DONTBUILD 2020-05-11 22:45:34 +03:00
Micah Tigley 0ffb21c838 Bug 1636348 - Ensure the connection between the about:devtools-toolbox's client and server is closed. r=jdescottes
The `browser_aboutdebugging_navigate_to_url.js` test times out if we don't wait for the about:devtools-toolbox tab to be removed as a target from about:debugging.

Differential Revision: https://phabricator.services.mozilla.com/D74467
2020-05-11 13:59:27 +00:00
Nicolas Chevobbe a2ba8e8d15 Bug 1607569 - Fix leak in browser_console_devtools_loader_exception. r=ochameau.
In the Browser toolbox destroy function, we now wait for
any pending connection initialization promise.
In the test we close the browser toolbox at the end.
We also need to guard a few method in the connection proxy
to ensure the instances we use are still alive before using
them.

Differential Revision: https://phabricator.services.mozilla.com/D71171
2020-05-11 16:50:20 +00:00
Micah Tigley 8516e90635 Bug 1636634 - Use BrowsingContextTargetActor's reload method to reload the current tab in RDM r=jdescottes,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D74516
2020-05-11 17:01:08 +00:00
Micah Tigley 1dcb3056ce Bug 1635270 - Synthesize a click event when testing 'touchstart' event. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D74486
2020-05-11 17:03:09 +00:00
David Walsh 623b2f52f6 Bug 1633529 - Improve flow coverage of debugger's actions r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D72734
2020-05-08 18:36:30 +00:00
Mihai Alexandru Michis 7686b00958 Backed out 2 changesets (bug 1594752) for causing failures in browser_e10s_switchbrowser.js
CLOSED TREE

Backed out changeset b54107a687e4 (bug 1594752)
Backed out changeset 801d1e226947 (bug 1594752)
2020-05-11 18:11:24 +03:00
Julian Descottes b0621c9d5e Bug 1636507 - Extract legacy watcher implementation to dedicated files r=ochameau,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D74419
2020-05-11 14:32:24 +00:00
Neil Deakin c4073b529c Bug 1594752, use WindowGlobalParent's documentTitle to update tab titles rather than sending messages and events between processes, r=Gijs
Fix up the browser_tab_label_during_restore.js test to wait for the right number of tab title changes, since the timing of the tab title updating has now changed.

Differential Revision: https://phabricator.services.mozilla.com/D72562
2020-05-11 09:03:03 +00:00
Nicolas Chevobbe deffb48922 Bug 1635437 - Directly store targetFronts in toolbox redux store. r=ochameau.
We add `targetType` and `isTopLevel` properties on the target front, which
are set from the targetList and are used in the EvaluationContextSelector.

As a result we are able to directly call targetFront.targetType in a few
places instead of calling `getTargetType` again.

Differential Revision: https://phabricator.services.mozilla.com/D73890
2020-05-11 10:51:52 +00:00
Nicolas Chevobbe 1c52c579d2 Bug 1595046 - Display thrown object as inspectable elements. r=Honza,perftest-reviewers,davehunt.
This patch use the new `exception` and `hasException` field from nsIScriptError
so we can render the actual object in the message error instead of a stringified
version.
Error object are still displayed using the `customFormat` prop, so we display
only the type + message + stacktrace (but we'll have a way to inspect them
in the sidebar soon).
Existing tests were updated to fix failures, and some tests/test cases were
added to make sure we cover all the different kind of errors we can display
in the console.

Differential Revision: https://phabricator.services.mozilla.com/D71288
2020-05-11 10:38:57 +00:00
Nicolas Chevobbe db468890fa Bug 1594750 - Distinguish workers in the TargetList. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D73803
2020-05-11 07:13:57 +00:00
Julian Descottes 9181073a32 Bug 1635467 - Test calling ResourceWatcher::unwatch for several resources r=nchevobbe
Depends on D72854

Differential Revision: https://phabricator.services.mozilla.com/D73904
2020-05-10 18:42:38 +00:00
Julian Descottes a61fda7ffd Bug 1625961 - Throw when calling ResourceWatcher::watch twice for the same type r=nchevobbe,ochameau
Depends on D72668

Differential Revision: https://phabricator.services.mozilla.com/D72854
2020-05-10 18:42:15 +00:00
Julian Descottes 0d4c2cbb28 Bug 1625961 - Use the ResourceWatcher API to fetch Root NodeFront r=ochameau,nchevobbe
Depends on D62625

Differential Revision: https://phabricator.services.mozilla.com/D72668
2020-05-10 18:41:58 +00:00
Razvan Maries 917859d20b Backed out 3 changesets (bug 1635467, bug 1625961) for mochitest perma failures at browser_harautomation_simple.js
Backed out changeset 1d258bab62d7 (bug 1635467)
Backed out changeset cf46002eefb0 (bug 1625961)
Backed out changeset c7757cea8327 (bug 1625961)
2020-05-10 19:01:23 +03:00
Julian Descottes 210bc20606 Bug 1635467 - Test calling ResourceWatcher::unwatch for several resources r=nchevobbe
Depends on D72854

Differential Revision: https://phabricator.services.mozilla.com/D73904
2020-05-10 14:40:58 +00:00
Julian Descottes e81a033d1d Bug 1625961 - Throw when calling ResourceWatcher::watch twice for the same type r=nchevobbe,ochameau
Depends on D72668

Differential Revision: https://phabricator.services.mozilla.com/D72854
2020-05-10 14:40:35 +00:00
Julian Descottes b65aacf37e Bug 1625961 - Use the ResourceWatcher API to fetch Root NodeFront r=ochameau,nchevobbe
Depends on D62625

Differential Revision: https://phabricator.services.mozilla.com/D72668
2020-05-10 14:40:22 +00:00
Dorel Luca c0aa119d7d Backed out 3 changesets (bug 1635467, bug 1625961) for Devtools failures in resources/tests/browser_resources_exceptions.js. CLOSED TREE
Backed out changeset 1fd6a3754afb (bug 1635467)
Backed out changeset 977b0031b41c (bug 1625961)
Backed out changeset 18646e7b984f (bug 1625961)
2020-05-09 20:09:59 +03:00
Dorel Luca 4c8951359a Backed out changeset d7df79387af7 (bug 1595046) for Talos tests failures in webconsole/complicated.js. CLOSED TREE 2020-05-09 20:08:21 +03:00
Julian Descottes c1fc956026 Bug 1635467 - Test calling ResourceWatcher::unwatch for several resources r=nchevobbe
Depends on D72854

Differential Revision: https://phabricator.services.mozilla.com/D73904
2020-05-08 21:59:36 +00:00
Julian Descottes 023fbf7b85 Bug 1625961 - Throw when calling ResourceWatcher::watch twice for the same type r=nchevobbe,ochameau
Depends on D72668

Differential Revision: https://phabricator.services.mozilla.com/D72854
2020-05-08 21:58:26 +00:00
Julian Descottes 9fb3f67263 Bug 1625961 - Use the ResourceWatcher API to fetch Root NodeFront r=ochameau,nchevobbe
Depends on D62625

Differential Revision: https://phabricator.services.mozilla.com/D72668
2020-05-08 21:58:14 +00:00
Nicolas Chevobbe 6732178e6d Bug 1595046 - Display thrown object as inspectable elements. r=Honza.
This patch use the new `exception` and `hasException` field from nsIScriptError
so we can render the actual object in the message error instead of a stringified
version.
Error object are still displayed using the `customFormat` prop, so we display
only the type + message + stacktrace (but we'll have a way to inspect them
in the sidebar soon).
Existing tests were updated to fix failures, and some tests/test cases were
added to make sure we cover all the different kind of errors we can display
in the console.

Differential Revision: https://phabricator.services.mozilla.com/D71288
2020-05-09 11:18:20 +00:00
Julian Descottes 9483eb9c71 Bug 1611096 - Check webprogresslistener as a fallback for non loaded documents r=rcaliman,ochameau
Depends on D62624

With the previous implementation, an uninitialized document could be returned as a root node.
Here we try to be more explicit and wait for a correct root node. However in some cases a document can remain uninitialized and will never transition to any other state.
If the document is uninitialized but is not currently loading, we should consider it as a valid root node.

Differential Revision: https://phabricator.services.mozilla.com/D62625
2020-05-08 21:53:53 +00:00