The changes were made in Github to have proper markup for the
SmartTrace component. In the console, we change how the "Copy Message"
and "Export visible messages" context menu actions work so they use
the Selection API instead of `element.textContent`.
The Selection API reflects what would happen if a user do a text
selection, so having our actions to do the same ensure that we keep
our markup suitable for the clipboard.
Differential Revision: https://phabricator.services.mozilla.com/D17378
--HG--
extra : moz-landing-system : lando
Having the element displayed as a block cause some new lines
to be added the clipboard when doing a selection and copying.
This would also break the changes we are doing in the "Copy message"
context menu entry.
Differential Revision: https://phabricator.services.mozilla.com/D17377
--HG--
extra : moz-landing-system : lando
The Frames component changed significantly on Github, which means
we need to do some adjustments in the SmartTrace component (pass
the `selectable` prop, change CSS rules, …).
For now, we also hide the Framework icons as we need to find a way
to properly share the underlying CSS from the debugger (See
https://github.com/devtools-html/debugger.html/issues/7782).
Differential Revision: https://phabricator.services.mozilla.com/D17376
--HG--
extra : moz-landing-system : lando
Depends on D17255
Replaces CSS pseudo-elements for added/removed line markers with text
elements that can be copied with the rest of the content.
Differential Revision: https://phabricator.services.mozilla.com/D17256
--HG--
extra : moz-landing-system : lando
Adds context menu with options to select all and copy text content from
the Changes panel.
Differential Revision: https://phabricator.services.mozilla.com/D17255
--HG--
extra : moz-landing-system : lando
This fixes PropTypes warning on MessageContainer
and ConfirmDialog components.
Differential Revision: https://phabricator.services.mozilla.com/D17636
--HG--
extra : moz-landing-system : lando
rename global variable --base-distance to --base-unit to improve understanding of code
Differential Revision: https://phabricator.services.mozilla.com/D17219
--HG--
extra : moz-landing-system : lando
This was throwing because we were retrieving a
property on a possible undefined value. We fix
this in this patch and add a test case to make
sure we don't regress this.
Differential Revision: https://phabricator.services.mozilla.com/D17335
--HG--
extra : moz-landing-system : lando
Depends on D17255
Replaces CSS pseudo-elements for added/removed line markers with text
elements that can be copied with the rest of the content.
Differential Revision: https://phabricator.services.mozilla.com/D17256
--HG--
extra : moz-landing-system : lando
Adds context menu with options to select all and copy text content from
the Changes panel.
Differential Revision: https://phabricator.services.mozilla.com/D17255
--HG--
extra : moz-landing-system : lando
Depends on D17522
The initial test was disabled because of intermittent failures. Hopefully this one is
more stable. I tried to avoid any pattern that would lead to intermittent issues.
Differential Revision: https://phabricator.services.mozilla.com/D17555
--HG--
extra : moz-landing-system : lando
Straightforward migration. The main difference with the original test is the beginning.
We wait for the registration to appear on the window to make sure the worker started.
Differential Revision: https://phabricator.services.mozilla.com/D17522
--HG--
rename : devtools/client/aboutdebugging/test/service-workers/empty-sw.html => devtools/client/aboutdebugging-new/test/browser/resources/service-workers/empty-sw.html
rename : devtools/client/aboutdebugging/test/service-workers/empty-sw.js => devtools/client/aboutdebugging-new/test/browser/resources/service-workers/empty-sw.js
extra : moz-landing-system : lando
Several of our tests relied on the timing of the shutdown of the webconsole. I updated one
test that fired off an extra rdp request so that it is waiting until it resolves before shutting down.
For the rest, I started tracking the async behavior of initialization of the web-console-proxy, and
waiting for initialization to finish before destroying.
Differential Revision: https://phabricator.services.mozilla.com/D16177
--HG--
extra : moz-landing-system : lando
These tests were using chrome URL for no good reason.
With the current bug, the pages running in system principal will be debugged with a special setup.
Actors will be run with modules loaded in a distinct loader in order to be executed
in a distinct compartment, distinct from the shared system principal compartment.
That a prerequisite for the Debugger API. It has to run in a distinct compartment than its debuggee.
It makes it harder to reach the actual DebuggerServer being used and register actors.
So it is easier to switch to a unprivileged test document loaded in the content process.
Differential Revision: https://phabricator.services.mozilla.com/D16824
--HG--
extra : moz-landing-system : lando