1,007
edits
Line 76: | Line 76: | ||
python manage.py test | python manage.py test | ||
That will only work if you have xpcshell installed. If you have built Mozilla from source, you should have xpcshell on your system. If you don't have it, another way to run the same test suite is by visiting this page: | |||
chrome://ubiquity/content/test.html | chrome://ubiquity/content/test.html | ||
Due to slight differences between running javascript code in xpcshell on the command line, and running it in an html page, a test occasionally will fail on the html page even though it succeeds on the command line. In that case, you can ignore the failure on the html page. | Due to slight differences between running javascript code in xpcshell on the command line, and running it in an html page, a test occasionally will fail on the html page even though it succeeds on the command line. In that case, you can ignore the failure on the html page. To be specific, you can ignore the following error message: | ||
Error in test testSandboxSupportsJs17: missing ; before statement (in chrome://ubiquity/content/sandboxfactory.js, line 23) | |||
== Keeping Up to Date == | == Keeping Up to Date == |
edits