[Webkit-unassigned] [Bug 27209] Add WebSocket.idl
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 13 12:21:20 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27209
Jeremy Orlow <jorlow at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jorlow at chromium.org
--- Comment #2 from Jeremy Orlow <jorlow at chromium.org> 2009-07-13 12:21:20 PDT ---
> +module websockets {
> +
> + interface [
> + CustomMarkFunction,
> + NoStaticTables
Why does this need a custom mark function or no static tables? (Not saying it
doesn't..just wondering.)
Also, add Conditional=WEB_SOCKETS
> + ] WebSocket {
> + readonly attribute DOMString URL;
> +
> + // ready state
> + const unsigned short CONNECTING = 0;
> + const unsigned short OPEN = 1;
> + const unsigned short CLOSED = 2;
> + readonly attribute long readyState;
Why are the constants shorts and the attribute a long?
> +
> + // networking
> + attribute EventListener onopen;
> + attribute EventListener onmessage;
> + attribute EventListener onclose;
> +
> + [Custom] void send(in DOMString data)
> + raises(DOMException);
Why does this need to be custom? (Not saying it doesn't, just wondering.)
> + void close();
> + };
> +}
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list