Enable clearing of network resources on all layers(frontend, resource layer, server) when the
user click the clear button.
Differential Revision: https://phabricator.services.mozilla.com/D148694
No conclusive results on try. Waiting for the property container to be ready should at least help invsestigate if we get more failures
Differential Revision: https://phabricator.services.mozilla.com/D151425
The container is turned into a footer and moved outside of
its current parent so it always stick to the bottom.
CSS was tweaked to keep it nice.
Differential Revision: https://phabricator.services.mozilla.com/D151284
This is done by adding `color-mix` to `COLOR_TAKING_FUNCTIONS`.
Test case is added, alongside with cases for other functions in which we
should show color swatches.
Differential Revision: https://phabricator.services.mozilla.com/D151224
In the browser toolbox window, we include common.css, but we don't
apply the theme-dark/theme-light classes, so we end up overriding the
color-scheme to light.
Instead, only override color-scheme for theme-light/theme-dark, so that
context menus and so have the right appearance.
Differential Revision: https://phabricator.services.mozilla.com/D151131
In this patch
- Added remove all breakpoints button in the Breakpoints list header bar
- Start clearing `asyncStore.pendingBreakpoints` when we remove all the breakpoints
- Add jest tests
Differential Revision: https://phabricator.services.mozilla.com/D150350
The test seemed to fail because the browsers was firing requests we weren't expecting.
To fix this, we set a few preferences that should prevent such requests to be made.
Differential Revision: https://phabricator.services.mozilla.com/D150953
The "group" is defined by getDisplayURL method.
Instead of modifying late in the UI, we should rather set it to the right value upfront.
Also avoid computing `extensionName` from the actor when the URL isn't an extension one.
Differential Revision: https://phabricator.services.mozilla.com/D150745
The test seemed to fail because the browsers was firing requests we weren't expecting.
To fix this, we set a few preferences that should prevent such requests to be made.
Differential Revision: https://phabricator.services.mozilla.com/D150953
The compatibility panel tests should now work both with the current browser data and with the update from D150961
We will still need to find a reliable way to avoid breakage when a data dump occurs.
Differential Revision: https://phabricator.services.mozilla.com/D150981
This introduces functionality to support disabling weconsole messages.
Also introduces code to disable all network messages, which would be
used by the netmonitor.
You'll probably need the fullstack of patches to test easily
Will add mochitest in a followup
Differential Revision: https://phabricator.services.mozilla.com/D149753
`WebConsoleConnectionProxy` is now only used for:
- listening to `lastPrivateContextExited`, which can be done from the top-level
console front instead
- setting `NetworkMonitor.saveRequestAndResponseBodies` for toolbox we don't have
network resource support for, which would be better done in `startWatchingNetworkResources`.
This means we don't need to keep a Map of additional proxies.
The only impact is on `clearMessagesCache`, where we now fetch all fronts with
`getAllFronts` instead of looping through the Map of additional proxies.
This change highlighted some race condition in tests, as it's now slightly slower.
So we add a new `clearMessagesCacheAsync` function, which is doing the same thing
as `clearMessagesCache`, except it's not `oneway`, so we can know when the cache
was indeed cleared, and we emit an event to indicate when the cache was cleared.
We can't simply remove `oneway` from `clearMessagesCache` as it causes backward
compatibility issues we can't avoid.
This also highlighted an issue with the cache not being cleared on `console.clear`
when it is batched, so we fix this (a test was failing without it).
The next patch in the queue will completely remove `WebConsoleConnectionProxy`.
Differential Revision: https://phabricator.services.mozilla.com/D150085