aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'background_scripts/main.coffee')
-rw-r--r--background_scripts/main.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 49417d7a..03d6143d 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -635,8 +635,8 @@ getCurrFrameIndex = (frames) ->
return i if frames[i].id == focusedFrame
frames.length + 1
-# Send message back to the tab unchanged.
-# Frames in the same tab can use this to communicate securely.
+# Send message back to the tab unchanged. This allows different frames from the same tab to message eachother
+# while avoiding security concerns such as eavesdropping or message spoofing.
echo = (request, sender) ->
delete request.handler # No need to send this information
chrome.tabs.sendMessage(sender.tab.id, request)