[whatwg] Web Sockets URL

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