搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

In Mobile Firefox on Android version 38 don't work an pageWorker! (sdk/page-worker)

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Kevin

more options

I develop an addon for android mobile version of Firefox and use high-level api 'sdk/page-worker' for my processes. But when I updated Firefox to 38 version, sdk/page-worker don't work. I try to use source code from page https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/page-worker , but it don't work too. I mean that no errors, but background page not created. For example, if I using next source code:

var pageWorker = require("sdk/page-worker"); var tmp = pageWorker.Page({ contentScript: 'console.log("Im loaded!!");' });

I haven't errors or warnings, and haven't log console "Im loaded!!". It's don't work only on android mobile version of FIrefox 38. On mobile Firefox 37 it work well (and desktop version of Firefox 38 work well to).

It's a bug or a new feature? In changelog to Firefox 38 nothing about it...

Thanks! I wait for your response!

I develop an addon for android mobile version of Firefox and use high-level api 'sdk/page-worker' for my processes. But when I updated Firefox to 38 version, sdk/page-worker don't work. I try to use source code from page https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/page-worker , but it don't work too. I mean that no errors, but background page not created. For example, if I using next source code: var pageWorker = require("sdk/page-worker"); var tmp = pageWorker.Page({ contentScript: 'console.log("Im loaded!!");' }); I haven't errors or warnings, and haven't log console "Im loaded!!". It's don't work only on android mobile version of FIrefox 38. On mobile Firefox 37 it work well (and desktop version of Firefox 38 work well to). It's a bug or a new feature? In changelog to Firefox 38 nothing about it... Thanks! I wait for your response!

被選擇的解決方法

所有回覆 (1)

more options

選擇的解決方法

This is a user support forum asking on https://groups.google.com/forum/#!forum/mozilla-labs-jetpack or filing a bug with the addons sdk would be best https://bugzilla.mozilla.org/enter_bug.cgi?product=Add-on%20SDK