Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

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

DevTools Toolbox Error Analysis - Server Protocol Errors

Period: 2026-03-03 09:22 to 2026-03-15 23:39
Total Errors: 151

Overview

The analysis reveals 151 server protocol errors, with the most common error type being 'undefined' (48.3%). 83.4% occur on aurora. Windows users account for 75.5% of all errors.

Platform Distribution

  • Windows: 114 errors (75.5%)
  • Darwin: 31 errors (20.5%)
  • Linux: 6 errors (4.0%)

Channel Distribution

  • aurora: 126 errors (83.4%)
  • nightly: 15 errors (9.9%)
  • beta: 5 errors (3.3%)
  • default: 5 errors (3.3%)

Error Breakdown by Category

1. TypeError: (undefined) - 50 errors (33.1%)

Error location:

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

Affected:

  • Channels: aurora (41), nightly (5), beta (4)
  • Platforms: Windows (40), Darwin (9), Linux (1)
  • Targets: undefined (50)

2. SecurityError: Error: (watchResources) - 30 errors (19.9%)

Error location:

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

Affected:

  • Channels: aurora (29), nightly (1)
  • Platforms: Windows (19), Darwin (9), Linux (2)
  • Targets: server0.conn0.watcher3 (18), server0.conn3.watcher3 (2), server0.conn1.watcher3 (2)

3. Error: (undefined) - 19 errors (12.6%)

Error location:

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

Affected:

  • Channels: aurora (17), nightly (2)
  • Platforms: Windows (19)
  • Targets: undefined (19)

4. out of memory: Error: (watchTargets) - 14 errors (9.3%)

Error location:

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

Affected:

  • Channels: aurora (14)
  • Platforms: Windows (9), Darwin (5)
  • Targets: server0.conn0.watcher3 (8), server0.conn2.watcher3 (2), server0.conn6.watcher3 (1)

5. InvalidStateError: Error: (watchTargets) - 7 errors (4.6%)

Error location:

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

Affected:

  • Channels: aurora (7)
  • Platforms: Darwin (5), Windows (2)
  • Targets: server0.conn0.watcher3 (7)

6. ReferenceError: Error: (watchResources) - 6 errors (4.0%)

Error location:

buildResource@resource://devtools/server/actors/resources/error-messages.js:147:7

Affected:

  • Channels: aurora (6)
  • Platforms: Windows (6)
  • Targets: server0.conn0.watcher3 (6)

7. AbortError: Error: (watchTargets) - 6 errors (4.0%)

Error location:

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

Affected:

  • Channels: aurora (5), nightly (1)
  • Platforms: Windows (4), Darwin (2)
  • Targets: server0.conn0.watcher3 (5), server0.conn6.watcher3 (1)

8. Error: Error: (watchTargets) - 5 errors (3.3%)

Error location:

load@resource://devtools/shared/loader/base-loader.sys.mjs:206:15

Affected:

  • Channels: default (5)
  • Platforms: Windows (5)
  • Targets: server0.conn0.watcher3 (5)

9. TypeError: Error: (watchResources) - 3 errors (2.0%)

Error location:

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

Affected:

  • Channels: aurora (2), nightly (1)
  • Platforms: Windows (3)
  • Targets: server0.conn0.watcher3 (3)

10. SecurityError: Error: (watchResources) - 3 errors (2.0%)

Error location:

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

Affected:

  • Channels: aurora (2), nightly (1)
  • Platforms: Windows (2), Darwin (1)
  • Targets: server0.conn0.watcher3 (3)

Top Error Types Summary

  1. undefined: _getDebugTargetData - 50 occurrences (33.1%)
  2. SecurityError: listen - 30 occurrences (19.9%)
  3. undefined: getItemOnError - 19 occurrences (12.6%)
  4. out of memory: onPacket/< - 14 occurrences (9.3%)
  5. InvalidStateError: onNewTargetActor - 7 occurrences (4.6%)
  6. ReferenceError: buildResource - 6 occurrences (4.0%)
  7. AbortError: onPacket/< - 6 occurrences (4.0%)
  8. Error: load - 5 occurrences (3.3%)
  9. TypeError: watch - 3 occurrences (2.0%)
  10. SecurityError: watch - 3 occurrences (2.0%)

Actionable Insights

    1. undefined: _getDebugTargetData accounts for 33.1% of all errors (50 occurrences)
    1. aurora channel dominance: 83.4% of errors are from aurora
    1. Platform-specific: undefined: getItemOnError is predominantly on Windows (19/19 errors)

Recommendations

Priority 1: undefined: _getDebugTargetData

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

Priority 2: SecurityError: listen

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

Priority 3: undefined: getItemOnError

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

Priority 4: out of memory: onPacket/<

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

Priority 5: InvalidStateError: onNewTargetActor

  • File location: devtools/server/connectors/js-process-actor/ContentProcessWatcherRegistry.sys.mjs:252:38
  • Impact: 4.6% of all errors

DevTools Toolbox Server Protocol Errors (7-day analysis)

151 errors recorded from 2026-03-03 09:22 to 2026-03-15 23:39. Top issues: undefined: _getDebugTargetData (50 errors), SecurityError: listen (30 errors), undefined: getItemOnError (19 errors). aurora channel represents 83.4% of errors. Windows accounts for 75.5% of errors.

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