D
D
Dmitry Serzhenko2013-05-25 14:32:26
Opera
Dmitry Serzhenko, 2013-05-25 14:32:26

Socket.IO and Opera 11.64

Good afternoon!

Through Socket.IO and Redis Pub / Sub, I send real-time notifications to users.

The transports are defined in this order:

io.set('transports', [
        'xhr-polling',
        'jsonp-polling',
        'websocket',
        'flashsocket',
        'htmlfile'
        ]);


Everything works on current versions of browsers (FF21, Chrome 27, Yandex 1.7, Opera 12, IE10).

There is a problem with Opera 11.64

First, it falls into jsonp-polling (why doesn't xhr like it? ..) and immediately on it.
Secondly, a few seconds after the page loads, the “Pop-up window blocked” pops up and disappears almost immediately.

The client page is located at http://example.com/games/main.php, Socket.IO listens to http://example.com:8888

The percentage of users on the 11th Opera is not critical and can be scored, but I want to figure it out at least for myself in order to understand where my legs grow from.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jetman, 2013-05-25
@jetman

I can assume that Opera only supports CORS since version 12 - developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS
Therefore, Socket.IO is moving to JSONP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question