Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSP is not working in Opera 11.50 #7

Open
kumarnmanoj opened this issue Jul 22, 2011 · 0 comments
Open

CSP is not working in Opera 11.50 #7

kumarnmanoj opened this issue Jul 22, 2011 · 0 comments

Comments

@kumarnmanoj
Copy link

The TCPSocket connection is not established with the orbited server unless we place an javascript alert statement.

I Observed this in Opera 11.50.

Sample code:

// Orbited2.js is included

TCPSocket = Orbited2.TCPSocket();
var socket = new TCPSocket({'orbitedUri':"http://localhost:8000"});
socket.open("localhost",7777);
socket.onopen = function(){
alert("Connection Established");
}

The above code is not working (Orbited server is running and backend TCP server is also running). But the below code is working

// Orbited2.js is included

alert("Hi"); // Alert can be placed anywhere below :)

TCPSocket = Orbited2.TCPSocket();
var socket = new TCPSocket({'orbitedUri':"http://localhost:8000"});
socket.open("localhost",7777);
socket.onopen = function(){
alert("Connection Established");
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant