Commit c34b965a authored by Aron Carroll's avatar Aron Carroll

Remove local hack in discovery module

Unclear why it's needed, might be used for file:// endpoints...
parent d120f408
......@@ -84,10 +84,6 @@ class CrossFrameDiscovery
_onMessage: (event) =>
{source, origin, data} = event
# Fix for local testing (needed at least in Firefox 34.0)
if origin is 'null'
origin = '*'
# Check if the message is at all related to our discovery mechanism
match = data.match? /^__cross_frame_dhcp_(discovery|offer|request|ack)(:\d+)?$/
return unless match
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment