Commit Graph
9 Commits
Author SHA1 Message Date
Julian Descottes b5a1d0ac85 Bug 1275096 - [devtools] Fix eslint no aArgs violations r=frontend-codestyle-reviewers,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D268679
2025-10-15 16:47:26 +00:00
Nicolas Chevobbe db74a1cb6c Bug 1953942 - [devtools] Check that actor.enumProperties exists before calling it in getConsoleTableMessageItems. r=devtools-reviewers,ochameau,jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D242142
2025-03-19 15:08:22 +00:00
Dave Townsend 2af4d349f3 Bug 1864896: Autofix unused function arguments (devtools). r=profiler-reviewers,devtools-reviewers,nchevobbe,julienw
Differential Revision: https://phabricator.services.mozilla.com/D202959
2024-03-05 14:21:15 +00:00
nchevobbe 1d3b1527c4 Bug 1483662 - [devtools] Use microSecondTimeStamp to build timeStamp for console-related resources. r=jdescottes.
We can get a higher precision timestamp from microSecondTimeStamp, which will be consumed
in the console client to re-order messages.
This fixes an issue where different type of resources (console-messages and error-messages)
emitted during the same timestamp would not appear in the order they should be in.
A test is added to make sure the fix is effective.

Differential Revision: https://phabricator.services.mozilla.com/D155546
2022-09-02 04:58:28 +00:00
Mark Banner 6d03c63e2d Bug 1330099 - Enable object-shorthand eslint rule. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D153567
2022-08-03 14:57:05 +00:00
Nicolas Chevobbe b003c60585 Bug 1756822 - [devtools] Don't include unnecessary properties in console message resource. r=jdescottes.
Don't clone the whole message we receive as a result of a console API call, but select
properties that are being used on the client.
As a result, we're not sending some properties anymore (`functionName`, `addonId`, `workerType`),
and we also don't include some properties when they are falsy and wouldn't bring
any benefit (`counter`,`timer`, `private`, `prefix`, `stacktrace`)

Hopefully this helps save some cycle since we're not cloning an object, but also in the
JSActor communication since the packet we need to send is smaller.

We do similar changes to the webconsoleActor method, which is still used in non
fission scenarios, and remove WebConsoleUtils.cloneObject which is no longer used.

Differential Revision: https://phabricator.services.mozilla.com/D139686
2022-03-04 07:05:06 +00:00
Alexandre Poirot 1ea1a546f1 Bug 1614791 - Rename DebuggerServer to DevToolsServer. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D61363
2020-02-17 10:28:24 +00:00
jpmohr ddca670389 Bug 1599731 - Remove callbacks from webconsole attach test helpers. Address revision issues: style improvements. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D61655
2020-02-06 09:16:55 +00:00
Alexandre Poirot 313ad30871 Bug 1609726 - Unify mochitest chrome test folders in devtools. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60410
2020-02-04 14:03:11 +00:00