aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit_tests
diff options
context:
space:
mode:
authorStephen Blott2015-03-07 16:49:32 +0000
committerStephen Blott2015-03-07 16:58:02 +0000
commitb05276ed8264e5a71f20a7068690ba2a414ee6d8 (patch)
tree9c96d165dd536f696a1f0e5638ba9ca5f4c34cb1 /tests/unit_tests
parentae60abb94665446200db8a750bbc1362895d04d2 (diff)
downloadvimium-b05276ed8264e5a71f20a7068690ba2a414ee6d8.tar.bz2
Reload content scripts after install/update.
This is @mrmr1993's work from #1041. Reload content scripts when vimium is installed or updates. (@mrmr1993: The automatic merge was really messy (or, at least, I couldn't figure out what was going on). Since the bulk of #1041 was actually quite compact, I took the liberty of just copying it in. Hope you don't mind.)
Diffstat (limited to 'tests/unit_tests')
-rw-r--r--tests/unit_tests/test_chrome_stubs.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit_tests/test_chrome_stubs.coffee b/tests/unit_tests/test_chrome_stubs.coffee
index c61d7246..bc50521a 100644
--- a/tests/unit_tests/test_chrome_stubs.coffee
+++ b/tests/unit_tests/test_chrome_stubs.coffee
@@ -16,6 +16,8 @@ exports.chrome =
addListener: () -> true
onMessage:
addListener: () -> true
+ onInstalled:
+ addListener: ->
tabs:
onSelectionChanged: