aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephen Blott2016-03-25 06:31:42 +0000
committerStephen Blott2016-03-28 08:21:20 +0100
commit23884b31ba643f1ad1e44f5fc949bd3329df6985 (patch)
treeb39e1df913f0b5370db34fdc4e15ce277ea9b7b5 /tests
parent091afd73bb5952d2b30b8de657afb6c3a874d274 (diff)
downloadvimium-23884b31ba643f1ad1e44f5fc949bd3329df6985.tar.bz2
Use image data for icons.
This uses image data (instead of a path) for the page icon. It also only builds 19x19 and 38x38 icons, as per the chrome.browserAction.setIcon() documentation. This appears to fix a memory leak related to a recent Chrome regression (versions 49+). Fixes #2055.
Diffstat (limited to '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 b0b527c5..702ea77f 100644
--- a/tests/unit_tests/test_chrome_stubs.coffee
+++ b/tests/unit_tests/test_chrome_stubs.coffee
@@ -16,6 +16,8 @@ global.document =
addEventListener: ->
exports.chrome =
+ areRunningVimiumTests: true
+
runtime:
getURL: ->
getManifest: () ->