Closed DartBot closed 9 years ago
Set owner to @vsmenon.
This is fixed for DartC and Frog. Pavel, can you investigate for Dartium? There is a failing test in expectations.
Set owner to podiv...@google.com.
This comment was originally written by jordo...@gmail.com
I believe this only got fixed for dart:dom, because I'm still unable to construct a WebSocket using dart:html.
It looks like not only is there no constructor that I can see for dart:html WebSocket, trying to create a dart:dom WebSocket throws a NotImplement exception in Dartium.
Where is this fixed? I don't see any factory or constructor for WebSocket in bleeding_edge and the latest editor build (4589) doesn't have a constructor.
This comment was originally written by @financeCoding
It seems the fix was only for dart:dom. Can we get this for dart:html? Also trying to use WebSocket from dart:dom produced "Uncaught Error: INVALID_STATE_ERR: DOM Exception 11" on both Dartium and Chrome. I tried passing the --disable-web-security to both with the same error resulting. I'm on MacOSX if that makes a difference? My command for opening was "open Chromium.app --args --disable-web-security" .
This comment was originally written by podivilov@google.com
I believe it works now in Dartium. Jacob, could you please fix dart:html?
Set owner to @jacob314. Added Triaged label.
This issue was originally filed by matthias.wesse...@kaazing.com
What steps will reproduce the problem?
What is the expected output? What do you see instead? Expected => Being able to create a WebSocket object seeing => can't create such an object due to a lacking factory
What version of the product are you using? On what operating system? Tried it in the dart lang editor (Alpha). After not being able to create a WebSocket object, I looked at the source code of the WebSocket.dart file:
http://code.google.com/p/dart/source/browse/trunk/dart/client/html/src/WebSocket.dart
==> lack of factory