aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dom_tests
diff options
context:
space:
mode:
authormrmr19932014-12-08 01:15:06 +0000
committermrmr19932014-12-08 01:15:06 +0000
commit1c33590eb994403ec8520c1c02bfb4fe63831745 (patch)
treebab9a975cb4e7a17208c4925ccfc7244df1dd7e8 /tests/dom_tests
parentb6125a2b13d6927c10f381f51b207445fd3f049b (diff)
downloadvimium-1c33590eb994403ec8520c1c02bfb4fe63831745.tar.bz2
Detect port disconnects (ie. extension is disabled) and disable frontend
Diffstat (limited to 'tests/dom_tests')
-rw-r--r--tests/dom_tests/chrome.coffee3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/dom_tests/chrome.coffee b/tests/dom_tests/chrome.coffee
index 7f99e27f..15ed4339 100644
--- a/tests/dom_tests/chrome.coffee
+++ b/tests/dom_tests/chrome.coffee
@@ -10,6 +10,9 @@ root.chrome = {
onMessage: {
addListener: ->
}
+ onDisconnect: {
+ addListener: ->
+ }
postMessage: ->
}
onMessage: {