Closed Bug 1338826 Opened 7 years ago Closed 7 years ago

Error seen when debugging a web extension in about:debugging

Categories

(DevTools :: about:debugging, defect, P3)

54 Branch
x86_64
Linux
defect

Tracking

(firefox54 affected)

RESOLVED FIXED
Tracking Status
firefox54 --- affected

People

(Reporter: jkt, Unassigned)

Details

STR:
1. open about:debugging
2. Load a temporary add-on that is a web extension
3. Click debug and accept the modal asking for permission

The message in the window is:
  addonActor is undefined

I have tried a few addons with the same result but the one I was using was this: https://github.com/lgarron/ugly-http-extension

In console when using a built central firefox I get:
1486844470599	addons.xpi-utils	WARN	Disabling foreign installed add-on ubufox@ubuntu.com in app-system-share
1486844617431	addons.xpi-utils	WARN	Disabling foreign installed add-on ubufox@ubuntu.com in app-system-share
JavaScript error: resource:///modules/BrowserUsageTelemetry.jsm, line 303: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]
JavaScript error: resource://gre/modules/XPCOMUtils.jsm, line 191: TypeError: can't redefine non-configurable property "Services"
*************************
A coding exception was thrown and uncaught in a Task.

Full message: TypeError: addonActor is undefined
Full stack: connect<@chrome://devtools/content/framework/toolbox-process-window.js:52:7
_run@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/task.js:311:39
resolve@resource://devtools/shared/deprecated-sync-thenables.js:42:40
then@resource://devtools/shared/deprecated-sync-thenables.js:22:43
resolve@resource://devtools/shared/deprecated-sync-thenables.js:74:11
listenerJson@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:733:9
emitOnObject@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:112:9
emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:89:38
emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1322:29
emitReply@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1021:29
DevTools RDP*request@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:717:21
DebuggerClient.requester/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:271:12
exports.makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14
listAddons@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:422:12
connect<@chrome://devtools/content/framework/toolbox-process-window.js:47:28
_run@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/task.js:311:39
resolve@resource://devtools/shared/deprecated-sync-thenables.js:42:40
then@resource://devtools/shared/deprecated-sync-thenables.js:22:43
resolve@resource://devtools/shared/deprecated-sync-thenables.js:74:11
connect/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:343:7
l@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:68:7
eventSource/proto.emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:130:9
exports.DebuggerClient/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:226:5
emitOnObject@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:112:9
emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:89:38
emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1322:29
emitReply@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1021:29
onPacket@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1026:9
_onJSONObjectReady/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/transport/transport.js:483:11
exports.makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14
exports.makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14

*************************


Extensions I was using:
Extensions
Name 	Version 	Enabled 	ID
Application Update Service Helper	1.0	true	aushelper@mozilla.org
Fix my HTTP	0.0.1	true	a7cd6bdda5dd10c31240c60f0f3aa249f83b90ff@temporary-addon
FlyWeb	1.0.0	true	flyweb@mozilla.org
Form Autofill	1.0	true	formautofill@mozilla.org
Multi-process staged rollout	1.9	true	e10srollout@mozilla.org
Pocket	1.0.5	true	firefox@getpocket.com
Presentation	1.0.0	true	presentation@mozilla.org
SHA-1 deprecation staged rollout	1.0	true	disableSHA1rollout@mozilla.org
Shield Recipe Client	1.0.0	true	shield-recipe-client@mozilla.org
Ugly HTTP	0.1.3	true	3d4a7eade2cf81238344ec99cb84e8acc106d193@temporary-addon
Web Compat	1.0	true	webcompat@mozilla.org
WebCompat Reporter	1.0.0	true	webcompat-reporter@mozilla.org
Ubuntu Modifications	3.2	false	ubufox@ubuntu.com

Details of build:
 Name 	Firefox
Version 	54.0a1
Build ID 	20170211184219

I also tried the latest nightly too.
Sorry about the late triage :( This seems to be fixed now since I can't reproduce the issue on Nightly or DevEdition. Can you check if you still have the problem ?
Flags: needinfo?(jkt)
Triaging as P3 while waiting for feedback, since it looks like it was fixed already. 
About:debugging triage. Filter on TRIAGE-JD201705
Priority: -- → P3
Sorry was on PTO, yeah I can't replicate this any more.
Thanks!
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jkt)
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.