Skip to content

Commit 4117c50

Browse files
committed
FF: Reattach expando on every message to Frame
This fixes philc#2830: it stops timesofindia.indiatimes.com from failing due to FF bug 1408996.
1 parent e8d0fe5 commit 4117c50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content_scripts/vimium_frontend.coffee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ Frame =
221221
@port = chrome.runtime.connect name: "frames"
222222

223223
@port.onMessage.addListener (request) =>
224+
root.extend window, root unless extend?
224225
(@listeners[request.handler] ? this[request.handler]) request
225226

226227
# We disable the content scripts when we lose contact with the background page, or on unload.

0 commit comments

Comments
 (0)