This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25321 - var%20ws%20%3D%20new%20websocket%28%22ws//localhost:8888/websocket");ws.onopen = function() %7B ws.send("Hello, World");%7D;ws.onmessage = function (evt) %7B alert(evt.data);%7D;
Summary: var%20ws%20%3D%20new%20websocket%28%22ws//localhost:8888/websocket");ws.onope...
Status: RESOLVED INVALID
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-11 06:22 UTC by contributor
Modified: 2014-05-07 23:09 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2014-04-11 06:22:57 UTC
Specification: http://dev.w3.org/html5/websockets/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top
Referrer: 

Comment:
var%20ws%20%3D%20new%20websocket%28%22ws//localhost:8888/websocket");ws.onopen
= function() %7B     ws.send("Hello, World");%7D;ws.onmessage = function (evt)
%7B	alert(evt.data);%7D;

Posted from: 221.244.254.42
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36