29
rated 0 times
[
35]
[
6]
/ answers: 1 / hits: 23020
/ 9 Years ago, fri, january 15, 2016, 12:00:00
I'm getting a SyntaxError: An invalid or illegal string was specified
, while trying to connect to a WebSocket on Firefox.
<!doctype html>
<html>
<head><meta charset=utf-8></head>
<body>
<script>
var socket = new WebSocket('127.0.0.1:1234');
</script>
</body>
</html>
Why do I get this error?
More From » firefox