Closed Bug 1070726 Opened 10 years ago Closed 9 years ago

[e10s] Send to Mail doesn't create the User Interface

Categories

(Firefox :: Extension Compatibility, defect)

35 Branch
All
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
e10s + ---

People

(Reporter: adrian.arroyocalle, Unassigned)

References

Details

(Keywords: addon-compat)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140917194002

Steps to reproduce:

I've opened Firefox 35 Nightly on Ubuntu 14.04 and I've installed the Send to Mail addon. 


Actual results:

No context menu as usual. Also a message when I've installed it on the console:
console.error: send-to-mail: 
  Message: TypeError: window is null
  Stack:
    addSelectionListener@resource://gre/modules/commonjs/sdk/selection.js:342:7
@resource://gre/modules/commonjs/sdk/selection.js:406:1
CuddlefishLoader/options<.load@resource://gre/modules/commonjs/sdk/loader/cuddlefish.js:129:18
@resource://gre/modules/commonjs/sdk/context-menu.js:27:19
CuddlefishLoader/options<.load@resource://gre/modules/commonjs/sdk/loader/cuddlefish.js:129:18
firefoxSetup@resource://send-to-mail-at-divel/send-to-mail/lib/main.js:26:11
exports.main@resource://send-to-mail-at-divel/send-to-mail/lib/main.js:75:3
run@resource://gre/modules/commonjs/sdk/addon/runner.js:151:1
startup/</<@resource://gre/modules/commonjs/sdk/addon/runner.js:86:7
Handler.prototype.process@resource://gre/modules/Promise-backend.js:865:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise-backend.js:744:7

*************************
A coding exception was thrown in a Promise resolution callback.
See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise

Full message: TypeError: window is null
Full stack: addSelectionListener@resource://gre/modules/commonjs/sdk/selection.js:342:7
@resource://gre/modules/commonjs/sdk/selection.js:406:1
CuddlefishLoader/options<.load@resource://gre/modules/commonjs/sdk/loader/cuddlefish.js:129:18
@resource://gre/modules/commonjs/sdk/context-menu.js:27:19
CuddlefishLoader/options<.load@resource://gre/modules/commonjs/sdk/loader/cuddlefish.js:129:18
firefoxSetup@resource://send-to-mail-at-divel/send-to-mail/lib/main.js:26:11
exports.main@resource://send-to-mail-at-divel/send-to-mail/lib/main.js:75:3
run@resource://gre/modules/commonjs/sdk/addon/runner.js:151:1
startup/</<@resource://gre/modules/commonjs/sdk/addon/runner.js:86:7
Handler.prototype.process@resource://gre/modules/Promise-backend.js:865:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise-backend.js:744:7

*************************
console.error: send-to-mail: 
  Message: TypeError: window is null
  Stack:
    addSelectionListener@resource://gre/modules/commonjs/sdk/selection.js:342:7
@resource://gre/modules/commonjs/sdk/selection.js:406:1
CuddlefishLoader/options<.load@resource://gre/modules/commonjs/sdk/loader/cuddlefish.js:129:18
@resource://gre/modules/commonjs/sdk/context-menu.js:27:19
CuddlefishLoader/options<.load@resource://gre/modules/commonjs/sdk/loader/cuddlefish.js:129:18
firefoxSetup@resource://send-to-mail-at-divel/send-to-mail/lib/main.js:26:11
exports.main@resource://send-to-mail-at-divel/send-to-mail/lib/main.js:75:3
run@resource://gre/modules/commonjs/sdk/addon/runner.js:151:1
startup/</<@resource://gre/modules/commonjs/sdk/addon/runner.js:86:7
Handler.prototype.process@resource://gre/modules/Promise-backend.js:865:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise-backend.js:744:7



Expected results:

It should have created a contextual menu
Keywords: addon-compat
OS: Windows 7 → Linux
Hardware: x86_64 → All
Blocks: e10s-addons
Component: Untriaged → Extension Compatibility
hi Adrián, are you the author of the Send To Mail add-on?

Your add-on seems to be broken with multiprocess Firefox (e10s). If you have any questions about e10s support, just drop by the #e10s IRC channel on irc.mozilla.org. MDN also has a good introduction:

https://developer.mozilla.org/en-US/Add-ons/Working_with_multiprocess_Firefox
Yes, I'm the author but the UI stuff is managed by Addon SDK, so I can't do anything on my code.
This appears to have been fixed, even if Thunderbird doesn't appear to play nice with it. (99% sure it's either Thunderbird or Windows 10, 1% it's just Firefox, 0% it's the addon.)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.