Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save juliandescottes/99f3ef89facc9fddcd033a8947f60900 to your computer and use it in GitHub Desktop.

Select an option

Save juliandescottes/99f3ef89facc9fddcd033a8947f60900 to your computer and use it in GitHub Desktop.

DevTools Toolbox Error Analysis - Server Protocol Errors

Period: 2026-03-26 13:44 to 2027-05-03 00:37 Total Errors: 3355

Overview

The analysis reveals 3355 server protocol errors, with the most common error type being 'undefined' (43.9%). 95.8% occur on release. Windows users account for 79.9% of all errors.

Platform Distribution

  • Windows: 2682 errors (79.9%)
  • Linux: 350 errors (10.4%)
  • Darwin: 323 errors (9.6%)

Channel Distribution

  • release: 3213 errors (95.8%)
  • aurora: 115 errors (3.4%)
  • nightly: 10 errors (0.3%)
  • default: 7 errors (0.2%)
  • beta: 5 errors (0.1%)
  • unknown: 5 errors (0.1%)

Error Breakdown by Category

1. TypeError: (undefined) - 914 errors (27.2%)

Error location:

_getDebugTargetData@resource://devtools/client/framework/toolbox.js:1486:17

Affected:

  • Channels: release (900), aurora (12), default (2)
  • Platforms: Windows (769), Darwin (76), Linux (69)
  • Targets: undefined (914)

2. SecurityError: Error: (watchResources) - 878 errors (26.2%)

Error location:

listen@resource://devtools/server/actors/webconsole/listeners/document-events.js:66:11

Affected:

  • Channels: release (869), aurora (8), unknown (1)
  • Platforms: Windows (698), Linux (104), Darwin (76)
  • Targets: server0.conn0.watcher3 (731), server0.conn1.watcher3 (48), server0.conn2.watcher3 (19)

3. Error: (undefined) - 458 errors (13.7%)

Error location:

getItemOnError@resource://devtools/shared/async-storage.js:100:13

Affected:

  • Channels: release (428), aurora (21), nightly (6), unknown (3)
  • Platforms: Windows (402), Linux (34), Darwin (22)
  • Targets: undefined (458)

4. out of memory: Error: (watchTargets) - 292 errors (8.7%)

Error location:

onPacket/<@resource://devtools/shared/protocol/Front.js:404:31

Affected:

  • Channels: release (281), aurora (9), nightly (1), default (1)
  • Platforms: Windows (185), Darwin (56), Linux (51)
  • Targets: server0.conn0.watcher3 (222), server0.conn2.watcher3 (16), server0.conn1.watcher3 (10)

5. TypeError: Error: (watchResources) - 152 errors (4.5%)

Error location:

watch@resource://devtools/server/actors/resources/console-messages.js:93:7

Affected:

  • Channels: release (152)
  • Platforms: Windows (132), Linux (11), Darwin (9)
  • Targets: server0.conn0.watcher3 (147), server0.conn1.watcher3 (3), server0.conn6.watcher3 (1)

6. SecurityError: Error: (watchResources) - 142 errors (4.2%)

Error location:

watch@resource://devtools/server/actors/resources/console-messages.js:93:7

Affected:

  • Channels: release (140), aurora (1), unknown (1)
  • Platforms: Windows (111), Linux (16), Darwin (15)
  • Targets: server0.conn0.watcher3 (121), server0.conn2.watcher3 (6), server0.conn1.watcher3 (5)

7. InvalidStateError: Error: (watchTargets) - 103 errors (3.1%)

Error location:

onNewTargetActor@resource://devtools/server/connectors/js-process-actor/ContentProcessWatcherRegistry.sys.mjs:252:38

Affected:

  • Channels: release (102), aurora (1)
  • Platforms: Windows (73), Linux (16), Darwin (14)
  • Targets: server0.conn0.watcher3 (103)

8. out of memory: Error: (watchResources) - 55 errors (1.6%)

Error location:

onPacket/<@resource://devtools/shared/protocol/Front.js:404:31

Affected:

  • Channels: release (55)
  • Platforms: Windows (38), Linux (9), Darwin (8)
  • Targets: server0.conn0.watcher3 (51), server0.conn4.watcher3 (2), server0.conn3.watcher3 (1)

9. TypeError: (undefined) - 46 errors (1.4%)

Error location:

set@resource://devtools/client/shared/WeakMapMap.js:73:18

Affected:

  • Channels: aurora (41), default (3), beta (2)
  • Platforms: Windows (36), Darwin (9), Linux (1)
  • Targets: undefined (46)

10. TypeError: Error: (watchResources) - 37 errors (1.1%)

Error location:

listen@resource://devtools/server/actors/webconsole/listeners/document-events.js:66:11

Affected:

  • Channels: release (37)
  • Platforms: Windows (28), Darwin (5), Linux (4)
  • Targets: server0.conn0.watcher3 (32), server0.conn3.watcher3 (3), server0.conn2.watcher3 (1)

Top Error Types Summary

  1. undefined: _getDebugTargetData - 914 occurrences (27.2%)
  2. SecurityError: listen - 878 occurrences (26.2%)
  3. undefined: getItemOnError - 458 occurrences (13.7%)
  4. out of memory: onPacket/< - 292 occurrences (8.7%)
  5. TypeError: watch - 152 occurrences (4.5%)
  6. SecurityError: watch - 142 occurrences (4.2%)
  7. InvalidStateError: onNewTargetActor - 103 occurrences (3.1%)
  8. out of memory: onPacket/< - 55 occurrences (1.6%)
  9. undefined: set - 46 occurrences (1.4%)
  10. TypeError: listen - 37 occurrences (1.1%)

Actionable Insights

    1. undefined: _getDebugTargetData accounts for 27.2% of all errors (914 occurrences)
    1. release channel dominance: 95.8% of errors are from release
    1. Platform-specific: undefined: _getDebugTargetData is predominantly on Windows (769/914 errors)

Recommendations

Priority 1: undefined: _getDebugTargetData

  • File location: devtools/client/framework/toolbox.js:1486:17
  • Impact: 27.2% of all errors

Priority 2: SecurityError: listen

  • File location: devtools/server/actors/webconsole/listeners/document-events.js:66:11
  • Impact: 26.2% of all errors

Priority 3: undefined: getItemOnError

  • File location: devtools/shared/async-storage.js:100:13
  • Impact: 13.7% of all errors

Priority 4: out of memory: onPacket/<

  • File location: devtools/shared/protocol/Front.js:404:31
  • Impact: 8.7% of all errors

Priority 5: TypeError: watch

  • File location: devtools/server/actors/resources/console-messages.js:93:7
  • Impact: 4.5% of all errors

DevTools Toolbox Server Protocol Errors (7-day analysis)

3355 errors recorded from 2026-03-26 13:44 to 2027-05-03 00:37. Top issues: undefined: _getDebugTargetData (914 errors), SecurityError: listen (878 errors), undefined: getItemOnError (458 errors). release channel represents 95.8% of errors. Windows accounts for 79.9% of errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment