leibovic / options-kitchen-sink

An Firefox for Android add-on to test add-on options.
0 stars 3 forks source link

Cannot install in nightly firefox 35.0a1 #1

Open anaran opened 9 years ago

anaran commented 9 years ago
DEPRECATION WARNING: _getTabForBrowser` is now deprecated, please use `getTabForBrowser
You may find more details about this deprecation at: https://developer.mozilla.org/docs/Mozilla/Tech/XUL/Method/getTabForBrowser
chrome://browser/content/tabbrowser.xml 416 _getTabForBrowser
chrome://browser/content/tabbrowser.xml 388 _getTabForContentWindow
chrome://browser/content/tabbrowser.xml 3394 onxblDOMTitleChanged
null 0 null
 Deprecated.jsm:79
TypeError: can't access dead object tab-firefox.js:98
Content Security Policy: The page's settings blocked the loading of a resource at https://www.google-analytics.com/collect ("connect-src https://github.com https://ghconduit.com:25035 https://live.github.com https://uploads.github.com https://s3.amazonaws.com").
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create frameworks-f4749195ce218608caf72b3ddefff5f580445386f2529c60e027cd18d1db0cb5.js:34
TypeError: can't access dead object tab-firefox.js:98
DEPRECATION WARNING: _getTabForBrowser` is now deprecated, please use `getTabForBrowser
You may find more details about this deprecation at: https://developer.mozilla.org/docs/Mozilla/Tech/XUL/Method/getTabForBrowser
chrome://browser/content/tabbrowser.xml 416 _getTabForBrowser
chrome://browser/content/tabbrowser.xml 388 _getTabForContentWindow
chrome://browser/content/tabbrowser.xml 3394 onxblDOMTitleChanged
null 0 null
 Deprecated.jsm:79
TypeError: can't access dead object tab-firefox.js:98
1413225076695   addons.update-checker   WARN    Update manifest for optionskitchensink@margaretleibovic.com did not contain an updates property
DEPRECATION WARNING: _getTabForBrowser` is now deprecated, please use `getTabForBrowser
You may find more details about this deprecation at: https://developer.mozilla.org/docs/Mozilla/Tech/XUL/Method/getTabForBrowser
chrome://browser/content/tabbrowser.xml 416 _getTabForBrowser
chrome://browser/content/tabbrowser.xml 388 _getTabForContentWindow
resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/webbrowser.js 1570 .get
resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/webbrowser.js 753 BTA_form
resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/root.js 294 RootActor.prototype.onListTabs/<
resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js 865 Handler.prototype.process
resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js 744 this.PromiseWalker.walkerLoop
null 0 null
 Deprecated.jsm:79
leibovic commented 9 years ago

These errors sound like they're coming from desktop Firefox. Is that where you're trying to install this? This add-on is only intended to work on Firefox for Android.

anaran commented 9 years ago

Correct, I'll try to push to android after building locally, with maxVersion bumped to 35.*

anaran commented 9 years ago

Correct, I'll try to push to android after building locally, with maxVersion bumped to 35.*

anaran commented 9 years ago

Automatic installation fails with following log.

Clicking the xpi file in nightly firefox viewing file:///storage/emulated/legacy/ on the device, however, and allowing installation works fine.

My touching the Menulist and Control UI elements causes repeatedly flickering popup menus.

Other than that the UI basically works in nightly firefox on Galaxy Nexus adroid 4.3.

me@home:~/tmp/mozilla/options-kitchen-sink$ ./build.sh
mkdir: created directory ‘build’
mkdir: created directory ‘build/chrome’
Generating build/chrome/optionskitchensink.jar...
  adding: content/options.xul (stored 0%)
Copying various files to build folder...
‘bootstrap.js’ -> ‘build/bootstrap.js’
‘install.rdf’ -> ‘build/install.rdf’
‘chrome.manifest’ -> ‘build/chrome.manifest’
Preprocessing chrome.manifest...
Generating optionskitchensink.xpi...
  adding: bootstrap.js (deflated 54%)
  adding: chrome/ (stored 0%)
  adding: chrome/optionskitchensink.jar (deflated 65%)
  adding: chrome.manifest (deflated 30%)
  adding: install.rdf (deflated 55%)
Cleanup...
Done!
2 KB/s (2419 bytes in 1.000s)
Starting: Intent { act=android.intent.action.VIEW cat=[android.intent.category.DEFAULT] dat=file:///mnt/sdcard/optionskitchensink.xpi cmp=org.mozilla.fennec_leibovic/.App }
Error type 3
Error: Activity class {org.mozilla.fennec_leibovic/org.mozilla.fennec_leibovic.App} does not exist.
Pushed optionskitchensink.xpi to org.mozilla.fennec_leibovic
me@home:~/tmp/mozilla/options-kitchen-sink$
leibovic commented 9 years ago

If you read the log closely, you'll see that it's trying to push to fennec_leibovic, which won't exist on your device unless you've made a local build and your build machine username is "leibovic" :)

You should change your config_build.sh to point to the package name for a version of Fennec you have installed on your device (e.g. org.mozilla.firefox for release Firefox).