4 ms·
Websockets are not subject to Same Origin Policy. In Firefox it is subject to a "must use wss:// if on a https:// https:// page", but that's all.
by esrauch 13y ago
Websockets are not subject to Same Origin Policy. In Firefox it is subject to a "must use wss:// if on a https:// https:// page", but that's all.
- TazeTSchnitzel 13y agoWhere did you get that from? They are indeed subject to it, unless CORS is in effect.
- esrauch 13y agoSorry about the delay, I didn't see your reply until now. I assume you went see mine. If you do a search for "websockets cross origin" every result says they are allowed. I currently have something running that is doing cross domain websockets and it works perfectly fine on FF and Chrome without any special effort.
- TazeTSchnitzel 13y agoAnd if you read each, it says only when using CORS.