KangoExtensions / kango

Kango framework issue tracker
74 stars 7 forks source link

dispatchMessage - doesn't work in firefox #125

Closed ghost closed 9 years ago

ghost commented 9 years ago

I am trying to send notification from content to background script and it work in all browsers exept firefox.

Firefox: 38.0.1 Kango: 1.7.6 Content.js kango.dispatchMessage('notification', 'example'); Main.js kango.addMessageListener('notification', function(event) ...

akrylysov commented 9 years ago

Please send us your extension.

ghost commented 9 years ago

I have sent you extension with code.

akrylysov commented 9 years ago

It works fine, you just shouldn't use alert in background scripts because it is not available. We'll add it to documentation.