2014-03-06 18:12:24 +00:00
|
|
|
TextSecure Chromium Implementation
|
|
|
|
==================================
|
|
|
|
|
|
|
|
This is very early stuff and exists primarily to get the crypto in place.
|
2014-07-26 22:14:09 +00:00
|
|
|
*This does not currently work, dont bother trying to use it seriously yet*
|
2014-05-24 15:22:14 +00:00
|
|
|
|
2014-05-24 16:10:29 +00:00
|
|
|
Getting Started with Development
|
|
|
|
================================
|
2014-05-24 15:22:14 +00:00
|
|
|
|
2014-05-24 15:24:15 +00:00
|
|
|
* Clone the repo
|
|
|
|
* Open Chrome
|
|
|
|
* Go to chrome://extensions/
|
|
|
|
* Enable developer mode (checkbox on the top right)
|
|
|
|
* Click "Load unpacked extension..."
|
|
|
|
* Point to the repo's directory
|
2014-05-24 16:10:29 +00:00
|
|
|
|
2014-07-26 18:29:19 +00:00
|
|
|
Tests
|
|
|
|
=====
|
|
|
|
Please write tests! Our testing framework is mocha and our assertion library is
|
|
|
|
chai:
|
|
|
|
|
|
|
|
* http://visionmedia.github.io/mocha/
|
|
|
|
* http://chaijs.com/api/assert/
|
|
|
|
|
2014-05-24 16:10:29 +00:00
|
|
|
Tips/Tricks
|
|
|
|
===========
|
2014-07-26 12:13:40 +00:00
|
|
|
* Loading the `test.html` page may read, write or clear localStorage. To avoid
|
2014-07-26 18:29:19 +00:00
|
|
|
having to choose between running tests and preserving your existing messages,
|
2014-07-26 12:13:40 +00:00
|
|
|
keys, and other extension data, much of the test suite can be run by starting
|
|
|
|
a local webserver in the repository root, e.g. `python -m SimpleHTTPServer`.
|
2014-07-26 21:59:25 +00:00
|
|
|
You can then access the test page at `http://0.0.0.0:8000/test.html`.
|