Closed
Bug 1237294
Opened 10 years ago
Closed 10 years ago
mm.sendAsyncMessage is not a function resource://gre/modules/ExtensionUtils.jsm 731
Categories
(WebExtensions :: Untriaged, defect, P5)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: daleharvey, Unassigned)
References
Details
(Whiteboard: [b2g] triaged)
When responding to |chrome.runtime.sendMessage| this message is thrown
I/Gecko ( 322): Extension error: TypeError: mm.sendAsyncMessage is not a function resource://gre/modules/ExtensionUtils.jsm 731
I/Gecko ( 322): [[Exception stack
I/Gecko ( 322): onMessage/</listener/sendResponse@resource://gre/modules/ExtensionUtils.jsm:731:11
I/Gecko ( 322): PasswordManager.prototype.pageLoaded/<@moz-extension://7a43fa16-4cc4-4365-b7c1-994976ba88cd/js/PasswordManager.js:43:9
I/Gecko ( 322): runSafeSyncWithoutClone@resource://gre/modules/ExtensionUtils.jsm:23:14
I/Gecko ( 322): runSafeWithoutClone/<@resource://gre/modules/ExtensionUtils.jsm:38:32
I/Gecko ( 322): Current stack
I/Gecko ( 322): runSafeSyncWithoutClone@resource://gre/modules/ExtensionUtils.jsm:25:110
I/Gecko ( 322): runSafeWithoutClone/<@resource://gre/modules/ExtensionUtils.jsm:38:32
I/Gecko ( 322): ]]
The relevant code is https://github.com/daleharvey/fxospwdmgr/blob/master/js/PasswordManager.js#L18 (message handler, returns true to indicate an async result)
https://github.com/daleharvey/fxospwdmgr/blob/master/js/PasswordManager.js#L34 calls respond(false)
The same code works in firefox desktop
Updated•10 years ago
|
OS: Unspecified → Gonk (Firefox OS)
Whiteboard: [b2g]
Comment 1•10 years ago
|
||
Hei Fabrice, are you aware of this functionality missing?
Flags: needinfo?(fabrice)
Updated•10 years ago
|
Priority: -- → P5
Whiteboard: [b2g] → [b2g] triaged
Comment 2•10 years ago
|
||
I cannot reproduce this issue with a last week mozilla-inbound B2G desktop build.
Comment 3•10 years ago
|
||
Could you retry with the latest version please?
Flags: needinfo?(fabrice) → needinfo?(dale)
| Reporter | ||
Comment 4•10 years ago
|
||
Sweet looks like its working
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(dale)
Resolution: --- → WORKSFORME
Updated•8 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•