From 03728546c28664deaf89b9d2dc8fe5fb630bcd9a Mon Sep 17 00:00:00 2001 From: Jez Ng Date: Tue, 10 Jan 2012 01:05:38 +0800 Subject: Fix tests and make them easier to run. Add instructions to the README about running tests. --- background_page.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'background_page.html') diff --git a/background_page.html b/background_page.html index 7d8f749d..4421ae2f 100644 --- a/background_page.html +++ b/background_page.html @@ -765,6 +765,13 @@ }); } init(); + + /** + * Convenience function for development use. + */ + function runTests() { + open(chrome.extension.getURL('test_harnesses/automated.html')); + } -- cgit v1.2.3