Closed Bug 1226157 Opened 9 years ago Closed 9 years ago

Opening the debugger breaks on listWorker request and ends up breaking the debugger and the inspector

Categories

(DevTools Graveyard :: WebIDE, defect)

defect
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
Firefox 45
Tracking Status
firefox45 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file)

We get the following exception:
onPacket threw an exception: Error: Server did not specify an actor, dropping packet: {"error":"unknownError","message":"error occurred while processing 'listWorkers: TypeError: Ci.nsIWorkerDebugger is undefined\nStack: BTA_onListWorkers@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/webbrowser.js:1100

For some reason, Ci.nsIWorkerDebugger is undefined on b2g...
Then Debugger panel is completely broken, which is sad. But what is even more sad is that the inspector is also broken and what is even worse is that you can't restore to a working state unless you reopen webide :/
Oh. One mitigation point, you have to set devtools.debugger.workers to true via about:config or toolbox options to get this exception.
Assignee: nobody → poirot.alex
Blocks: 1160199
The issue at the end is quite simple,
we miss the related xpt file on b2g to have these interfaces defined.
Attachment #8689492 - Flags: review?(fabrice)
Yi-Fan, could you confirm that you have the workers debugging enabled?
If not... there is something else broken that we should figure out.
Comment on attachment 8689492 [details] [diff] [review]
Ship nsIWorkerDebugger* idl on b2g

Review of attachment 8689492 [details] [diff] [review]:
-----------------------------------------------------------------

r=e but please make the same change in https://mxr.mozilla.org/mozilla-central/source/mobile/android/b2gdroid/installer/package-manifest.in
Attachment #8689492 - Flags: review?(fabrice) → review+
https://hg.mozilla.org/mozilla-central/rev/437a1938d6be
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: