/Perspectives

Perspectives Firefox Extension

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Perspectives - Connect securely to https websites by checking certificates with network notaries.


This directory includes the code for the Perspectives Firefox and Seamonkey clients.

For more information see: http://www.perspectives-project.org


CONTACT

You can contact the developers on the Perspectives Dev newsgroup:

https://groups.google.com/group/perspectives-dev
perspectives-dev@googlegroups.com


HACKING

Requirements:
- a POSIX command line environment
- make
- zip

Optional (but strongly recommended!):
- python and the python 'lxml' library (to run the build tests)


To build, just type "make" (assuming of course you have make installed!). This will create a file called 'Perspectives.xpi'.  

You can run Perspectives in Firefox using File -> Open and browsing to the Perspectives.xpi file.

To debug the extension:

* Edit the d_print_flags in plugin/chrome/content/common.js
* Rebuild using make
* Reload the extension and restart your browser
* Use the Firefox extension 'Firebug' to view what's happening as Perspectives runs

Feel free to try Venkman or other debug methods (cf. https://developer.mozilla.org/en/Setting_up_extension_development_environment )


TESTING

To test Perspectives:

- Use 'make test' to build and install the Perspectives extension, as above
- Open chrome://perspectives/content/test/test.html in your browser
- Press the 'Run Tests' button

Test results will be displayed on the page.


Some tests are performed at build time - e.g. checking the localization files for the correct format and contents. All tests of the javascript code are run inside the extension - for security reasons they must be installed along with other extension files.

If you have ideas for further tests please let us know!