W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2009

[whatwg] Web Sockets URL

From: Alexey Proskuryakov <ap@webkit.org>
Date: Wed, 02 Dec 2009 12:04:38 -0800
Message-ID: <644ACF88-438C-4526-A544-FF513A1AE38B@webkit.org>
Currently, the Web Sockets API spec says that the WebSocket.URL  
attribute must just return a value that was passed to the WebSocket  
constructor. This doesn't match how many other url accessors work, and  
consequentially, it doesn't match what currently happens in WebKit.

I think it makes more sense to return a resolved URL - e.g. (new  
WebSocket("ws://host/path/../")).URL would return "ws://host/".

- WBR, Alexey Proskuryakov
Received on Wednesday, 2 December 2009 12:04:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:54 UTC