aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrmr19932017-11-22 18:29:13 +0000
committermrmr19932017-11-22 18:29:13 +0000
commit4117c5030b3b101d977078125e9c075c43c83949 (patch)
treea910994d702763b3d4b312a441a419d96d8789b7
parente8d0fe5f3f87b2ad753975a4485db348af7853fc (diff)
downloadvimium-4117c5030b3b101d977078125e9c075c43c83949.tar.bz2
FF: Reattach expando on every message to Frame
This fixes #2830: it stops timesofindia.indiatimes.com from failing due to FF bug 1408996.
-rw-r--r--content_scripts/vimium_frontend.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index fa973e43..83dfcc97 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -221,6 +221,7 @@ Frame =
@port = chrome.runtime.connect name: "frames"
@port.onMessage.addListener (request) =>
+ root.extend window, root unless extend?
(@listeners[request.handler] ? this[request.handler]) request
# We disable the content scripts when we lose contact with the background page, or on unload.