Chromium Code Reviews| Index: content/test/data/media/peerconnection-call.html |
| diff --git a/content/test/data/media/peerconnection-call.html b/content/test/data/media/peerconnection-call.html |
| index b7657f9bbb8096b718a543f50166265e40869db4..3f1cd708c666f2e9eab11f33060fd4054ab9283e 100644 |
| --- a/content/test/data/media/peerconnection-call.html |
| +++ b/content/test/data/media/peerconnection-call.html |
| @@ -105,17 +105,10 @@ |
| // When |secondDataChannel| receive a message, send a message back. |
| secondDataChannel.onmessage = function(event) { |
| expectEquals(event.data, sendDataString); |
| - // TODO(perkj): Currently we sometimes can't send a message here since |
| - // the the |dataChannel.readyState| has not transitioned to open yet. |
| - // http://code.google.com/p/webrtc/issues/detail?id=1262 |
| + expectEquals('open', secondDataChannel.readyState); |
| if (secondDataChannel.readyState == "open") { |
|
phoglund_chromium
2013/02/13 10:34:47
Get rid of this if.
|
| secondDataChannel.send(sendDataString); |
| - } else { |
| - secondDataChannel.onopen = function(event) { |
| - expectEquals('open', secondDataChannel.readyState); |
| - secondDataChannel.send(sendDataString); |
| - } |
| - } |
| + } |
| } |
| } |
| } |