aboutsummaryrefslogtreecommitdiffstats
path: root/background_page.html
diff options
context:
space:
mode:
authorJez Ng2012-01-10 01:05:38 +0800
committerJez Ng2012-01-10 01:32:12 +0800
commit03728546c28664deaf89b9d2dc8fe5fb630bcd9a (patch)
treef8bae4bc65e774217830e54bf7254af3b2912fea /background_page.html
parenta73f92604fca5380609f271685266cadf376ccbc (diff)
downloadvimium-03728546c28664deaf89b9d2dc8fe5fb630bcd9a.tar.bz2
Fix tests and make them easier to run.
Add instructions to the README about running tests.
Diffstat (limited to 'background_page.html')
-rw-r--r--background_page.html7
1 files changed, 7 insertions, 0 deletions
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'));
+ }
</script>
</head>
</html>