Closed
Bug 839208
Opened 11 years ago
Closed 11 years ago
Test indexed-db on Fennec
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: wbamberg, Unassigned)
References
Details
Attachments
(1 file)
2.72 KB,
text/plain
|
Details |
We should test indexed-db on Fennec.
Comment 1•11 years ago
|
||
Just a note: if `index-db` is not working on Fennec for any reason, until the proper support we need to add the module compatibility as follow: module.metadata = { "stability": "experimental", "engines": { "Firefox": "*" } }; Also, if this module is not potentially working on Thunderbird or we don't want to check it, we should limit the compatibility to Firefox and Fennec: module.metadata = { "stability": "experimental", "engines": { "Firefox": "*", "Fennec": "*" } }; Basically `"engines"` can be omitted only when there are no specific platform issues. See: https://github.com/mozilla/addon-sdk/wiki/JEP-Metadata for further details.
I am having tons of trouble getting my phone to work with `adb`, so if someone else can take this.... cfx test -f indexed-db -a fennec-on-device --mobile-app fennec --force-mobile -b /Users/glind/Downloads/android-sdk-macosx/platform-tools/adb that would be helpful.
Does cfx test still work on mobile? Mobile nightly? I see it start up, but get no useful output. Some output: Launching mobile application with intent name org.mozilla.fennec Pushing the addon to your device Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec/.App (has extras) } info: addon-sdk: [JavaScript Error: "[Exception... "'No matching logins' when calling method: [nsILoginManagerStorage::removeLogin]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: jar:jar:file:///mnt/asec/org.mozilla.fennec-1/pkg.apk!/omni.ja!/components/nsLoginManager.js :: LoginManager.prototype.removeLogin :: line 381" data: no]" {file: "jar:jar:file:///mnt/asec/org.mozilla.fennec-1/pkg.apk!/omni.ja!/components/nsLoginManager.js" line: 381}] info: addon-sdk: [JavaScript Error: "[Exception... "'No matching logins' when calling method: [nsILoginManagerStorage::removeLogin]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: jar:jar:file:///mnt/asec/org.mozilla.fennec-1/pkg.apk!/omni.ja!/components/nsLoginManager.js :: LoginManager.prototype.removeLogin :: line 381" data: no]" {file: "jar:jar:file:///mnt/asec/org.mozilla.fennec-1/pkg.apk!/omni.ja!/components/nsLoginManager.js" line: 381}] info: addon-sdk: [JavaScript Warning: "TypeError: setting a property that has only a getter" {file: "resource://gre/modules/JNI.jsm" line: 73}] info: addon-sdk: [JavaScript Warning: "TypeError: setting a property that has only a getter" {file: "resource://gre/modules/JNI.jsm" line: 22}]
Flags: needinfo?
Comment 4•11 years ago
|
||
Not sure about it, I suggest to add the flag `-v` at your command line, it should be displayed the proper output. Let me know if still not working!
Flags: needinfo?
Works on mobile / fennec 21. IMPORTANT: use the `-v` flag!
Comment 7•11 years ago
|
||
I think we can close the bug, then…! Thanks for the test!
Comment 8•11 years ago
|
||
BTW let me know about the comment 1, if `engines` property need to be specified.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•