Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

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

DevTools Toolbox Error Analysis - Server Protocol Errors

Period: 2026-03-24 14:37 to 2026-08-06 21:49 Total Errors: 3812

Overview

The analysis reveals 3812 server protocol errors, with the most common error type being 'TypeError' (36.8%). 95.8% occur on release. Windows users account for 79.3% of all errors.

Platform Distribution

  • Windows: 3024 errors (79.3%)
  • Linux: 409 errors (10.7%)
  • Darwin: 379 errors (9.9%)

Channel Distribution

  • release: 3653 errors (95.8%)
  • aurora: 130 errors (3.4%)
  • nightly: 18 errors (0.5%)
  • beta: 6 errors (0.2%)
  • default: 5 errors (0.1%)

Error Breakdown by Category

1. TypeError: TypeError: (undefined) - 1028 errors (27.0%)

Error location:

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

Affected:

  • Channels: release (1020), aurora (4), default (2), nightly (1), beta (1)
  • Platforms: Windows (885), Darwin (75), Linux (68)
  • Targets: undefined (1028)

2. SecurityError: Error: (watchResources) - 962 errors (25.2%)

Error location:

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

Affected:

  • Channels: release (958), aurora (4)
  • Platforms: Windows (754), Linux (124), Darwin (84)
  • Targets: server0.conn0.watcher3 (786), server0.conn1.watcher3 (45), server0.conn2.watcher3 (22)

3. Error: Error: (undefined) - 525 errors (13.8%)

Error location:

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

Affected:

  • Channels: release (511), aurora (13), default (1)
  • Platforms: Windows (483), Linux (31), Darwin (11)
  • Targets: undefined (525)

4. out of memory: Error: (watchTargets) - 340 errors (8.9%)

Error location:

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

Affected:

  • Channels: release (323), aurora (13), nightly (4)
  • Platforms: Windows (208), Darwin (77), Linux (55)
  • Targets: server0.conn0.watcher3 (235), server0.conn1.watcher3 (17), server0.conn2.watcher3 (16)

5. TypeError: Error: (watchResources) - 178 errors (4.7%)

Error location:

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

Affected:

  • Channels: release (178)
  • Platforms: Windows (152), Linux (15), Darwin (11)
  • Targets: server0.conn0.watcher3 (162), server0.conn1.watcher3 (6), server0.conn6.watcher3 (2)

6. SecurityError: Error: (watchResources) - 125 errors (3.3%)

Error location:

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

Affected:

  • Channels: release (123), nightly (1), aurora (1)
  • Platforms: Windows (97), Linux (15), Darwin (13)
  • Targets: server0.conn0.watcher3 (108), server0.conn1.watcher3 (6), server0.conn2.watcher3 (2)

7. InvalidStateError: Error: (watchTargets) - 112 errors (2.9%)

Error location:

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

Affected:

  • Channels: release (105), aurora (7)
  • Platforms: Windows (85), Linux (14), Darwin (13)
  • Targets: server0.conn0.watcher3 (111), server0.conn1.watcher3 (1)

8. out of memory: Error: (watchResources) - 58 errors (1.5%)

Error location:

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

Affected:

  • Channels: release (51), nightly (4), aurora (3)
  • Platforms: Windows (38), Darwin (11), Linux (9)
  • Targets: server0.conn0.watcher3 (51), server0.conn2.watcher3 (4), server0.conn6.watcher3 (1)

9. TypeError: Error: (watchResources) - 56 errors (1.5%)

Error location:

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

Affected:

  • Channels: release (56)
  • Platforms: Windows (39), Darwin (10), Linux (7)
  • Targets: server0.conn0.watcher3 (44), server0.conn2.watcher3 (4), server0.conn1.watcher3 (2)

10. TypeError: TypeError: (undefined) - 43 errors (1.1%)

Error location:

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

Affected:

  • Channels: aurora (38), nightly (4), beta (1)
  • Platforms: Windows (33), Darwin (8), Linux (2)
  • Targets: undefined (43)

Top Error Types Summary

  1. TypeError: _getDebugTargetData - 1028 occurrences (27.0%)
  2. SecurityError: listen - 962 occurrences (25.2%)
  3. Error: getItemOnError - 525 occurrences (13.8%)
  4. out of memory: onPacket/< - 340 occurrences (8.9%)
  5. TypeError: watch - 178 occurrences (4.7%)
  6. SecurityError: watch - 125 occurrences (3.3%)
  7. InvalidStateError: onNewTargetActor - 112 occurrences (2.9%)
  8. out of memory: onPacket/< - 58 occurrences (1.5%)
  9. TypeError: listen - 56 occurrences (1.5%)
  10. TypeError: set - 43 occurrences (1.1%)

Actionable Insights

    1. TypeError: _getDebugTargetData accounts for 27.0% of all errors (1028 occurrences)
    1. release channel dominance: 95.8% of errors are from release
    1. Platform-specific: TypeError: _getDebugTargetData is predominantly on Windows (885/1028 errors)

Recommendations

Priority 1: TypeError: _getDebugTargetData

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

Priority 2: SecurityError: listen

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

Priority 3: Error: getItemOnError

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

Priority 4: out of memory: onPacket/<

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

Priority 5: TypeError: watch

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

DevTools Toolbox Server Protocol Errors (7-day analysis)

3812 errors recorded from 2026-03-24 14:37 to 2026-08-06 21:49. Top issues: TypeError: _getDebugTargetData (1028 errors), SecurityError: listen (962 errors), Error: getItemOnError (525 errors). release channel represents 95.8% of errors. Windows accounts for 79.3% of errors.

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