blob: cc646eaef818078ad93bcbac40436424143f1403 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
gecko:
get working with firefox mobile https://wiki.mozilla.org/Mobile/Fennec/Extensions
finish update support. this means use tool http://www.softlights.net/projects/mxtools/uhura.html to sign mozilla thing
once it's working look into using rapper and bourne shell script to sign
this is difficult as mozilla wants the signature of a very particular serialisation of the update rdf
https://developer.mozilla.org/en/Extension_Versioning,_Update_and_Compatibility#Update_RDF_Format
openssl dgst -sha512 -binary -sign private.pem web/gecko-updates.rdf i'm pretty sure generates the correct signature. however it then has to be encoded, using asn1/der & base64. also, according to the docs only the hash is signed/hashed, whereas it looks like the whole (particularly serialised) rdf is used by uhura
test:
current tests
test the keyboard shortcut, by sending an event;
e=document.createEvent(...
e.initEvent(...
e.keyCode = ...
document.body.dispatchEvent(e)
window.close directly after logging to the console
make tests for chromium and firefox engines
https://developer.mozilla.org/en/Automated_testing_tips_and_tricks
https://developer.mozilla.org/en/Mozmill_Tests/Addon_tests
|