aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdh19952016-02-21 01:20:46 +0800
committergdh19952016-02-21 01:20:46 +0800
commit2af20933795a1c9f6ff5d081822f9077d9183d50 (patch)
treeb82756af7014fb2bf7445822d6c3438aa3fedfc2
parent01e720e10400d208627b593d3d539b87d89902d0 (diff)
downloadvimium-2af20933795a1c9f6ff5d081822f9077d9183d50.tar.bz2
fix a crash of unit tests
-rw-r--r--CREDITS1
-rw-r--r--tests/unit_tests/test_chrome_stubs.coffee2
2 files changed, 3 insertions, 0 deletions
diff --git a/CREDITS b/CREDITS
index e05a1c6a..b11497ca 100644
--- a/CREDITS
+++ b/CREDITS
@@ -44,5 +44,6 @@ Contributors:
Shiyong Chen <billbill290@gmail.com> (github: UncleBill)
Utkarsh Upadhyay <musically.ut@gmail.com) (github: musically-ut)
Michael Salihi <admin@prestance-informatique.fr> (github: PrestanceDesign)
+ Dahan Gong <gdh1995@qq.com> (github: gdh1995)
Feel free to add real names in addition to GitHub usernames.
diff --git a/tests/unit_tests/test_chrome_stubs.coffee b/tests/unit_tests/test_chrome_stubs.coffee
index 8b816cd4..bbcd01e7 100644
--- a/tests/unit_tests/test_chrome_stubs.coffee
+++ b/tests/unit_tests/test_chrome_stubs.coffee
@@ -60,6 +60,8 @@ exports.chrome =
onRemoved:
addListener: () -> true
getAll: () -> true
+ onFocusChanged:
+ addListener: () -> true
browserAction:
setBadgeBackgroundColor: ->