Depends on D17630
I am not mentioning the original test in the test file because they are not similar.
Original test was not actually testing anything interesting for us.
Differential Revision: https://phabricator.services.mozilla.com/D17631
--HG--
extra : moz-landing-system : lando
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