Closed Bug 1625639 Opened 6 years ago Closed 6 years ago

Error while detaching the worker target front

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1622014

People

(Reporter: Honza, Unassigned)

References

(Blocks 1 open bug)

Details

STR:

  1. Load http://janodvarko.cz/tests/debugger/workers/
  2. Open DevTools toolbox and select the Console panel
  3. Open the Browser Console
  4. Click Start Worker in Test Case #4
  5. Click Stop Worker in Test Case #4
  6. Check out the Browser Console for the following error:
Error while detaching the worker target front: Error: "Protocol error (noSuchActor): No such actor for ID: server1.conn0.content-process27/workerTarget6 from: server1.conn0.content-process27/workerTarget6"
    onPacket resource://devtools/shared/protocol/Front.js:319
    DevTools RDP*request resource://devtools/shared/protocol/Front.js:256
    name resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47
    detach resource://devtools/client/fronts/targets/worker.js:92
    _destroyTarget resource://devtools/client/fronts/targets/target-mixin.js:461
    destroy resource://devtools/client/fronts/targets/target-mixin.js:422
    _workerListChanged resource://devtools/shared/resources/target-list.js:193
    _emit resource://devtools/shared/event-emitter.js:226
    emit resource://devtools/shared/event-emitter.js:172
    emit resource://devtools/shared/event-emitter.js:324
    onPacket resource://devtools/shared/protocol/Front.js:294
    onPacket resource://devtools/shared/client/devtools-client.js:495
    send resource://devtools/shared/transport/local-transport.js:68
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:111
    executeSoon resource://devtools/shared/DevToolsUtils.js:62
    send resource://devtools/shared/transport/local-transport.js:56
    send resource://devtools/server/devtools-server-connection.js:91
    receiveMessage resource://devtools/shared/transport/child-transport.js:66
    _addListener resource://devtools/shared/transport/child-transport.js:40
    ready resource://devtools/shared/transport/child-transport.js:57
    listener resource://devtools/server/connectors/content-process-connector.js:43
    connectToContentProcess resource://devtools/server/connectors/content-process-connector.js:32
    connectToContentProcess resource://devtools/server/connectors/content-process-connector.js:28
    _childProcessConnect resource://devtools/server/actors/descriptors/process.js:95
    getTarget resource://devtools/server/actors/descriptors/process.js:129
    handler resource://devtools/shared/protocol/Actor.js:154
    onPacket resource://devtools/server/devtools-server-connection.js:380
    send resource://devtools/shared/transport/local-transport.js:68
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:111
    executeSoon resource://devtools/shared/DevToolsUtils.js:62
    send resource://devtools/shared/transport/local-transport.js:56
    send resource://devtools/shared/protocol/Front.js:240
    request resource://devtools/shared/protocol/Front.js:258
    name resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47
    _targetFrontPromise resource://devtools/client/fronts/descriptors/process.js:74
    getTarget resource://devtools/client/fronts/descriptors/process.js:91
    promises resource://devtools/shared/resources/target-list.js:56
    _processListChanged resource://devtools/shared/resources/target-list.js:53
    listen resource://devtools/shared/resources/target-list.js:72
    startListening resource://devtools/shared/resources/target-list.js:419
    _bcInitializer resource://devtools/client/webconsole/browser-console.js:82
    init resource://devtools/client/webconsole/browser-console.js:88
    openBrowserConsole resource://devtools/client/webconsole/browser-console-manager.js:67
    _browserConsoleInitializing resource://devtools/client/webconsole/browser-console-manager.js:104
    toggleBrowserConsole resource://devtools/client/webconsole/browser-console-manager.js:106
    openBrowserConsoleOrFocus resource://devtools/client/webconsole/browser-console-manager.js:183
    onKeyShortcut resource://devtools/client/framework/devtools-browser.js:312
    onKey resource:///modules/DevToolsStartup.jsm:875
    xulKey resource:///modules/DevToolsStartup.jsm:797
    createKey resource:///modules/DevToolsStartup.jsm:909
    attachKeys resource:///modules/DevToolsStartup.jsm:797
    hookKeyShortcuts resource:///modules/DevToolsStartup.jsm:776
    hookWindow resource:///modules/DevToolsStartup.jsm:505
    onWindowReady resource:///modules/DevToolsStartup.jsm:461
    _delayedStartup chrome://browser/content/browser.js:2101
    onLoad chrome://browser/content/browser.js:1899
    EventHandlerNonNull* chrome://browser/content/browser.xhtml:121
worker.js:94:15

Some prefs flipped in my profile

devtools.debugger.features.windowless-service-workers => true
devtools.debugger.workers-visible => true
devtools.aboutdebugging.collapsibilities.otherWorker => true
fission.autostart => true

Jason, can you reproduce this?

Honza

Flags: needinfo?(jlaster)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(jlaster)
You need to log in before you can comment on or make changes to this bug.