Index: third_party/WebKit/LayoutTests/imported/wpt/webrtc/datachannel-emptystring.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/webrtc/datachannel-emptystring.html b/third_party/WebKit/LayoutTests/imported/wpt/webrtc/datachannel-emptystring.html |
index 9cd32a3bca13826e142de441108fa55c6da72dfa..6af436a1d1bd4fb0c3bb8065f48475582c87e33a 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt/webrtc/datachannel-emptystring.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/webrtc/datachannel-emptystring.html |
@@ -33,13 +33,13 @@ and ensures that an empty string sent by one is received by the second. |
// When the data channel is open, send an empty string message |
// followed by a message that contains the string "done". |
- var onSendChannelOpen = function (event) { |
+ var onSendChannelOpen = test.step_func(function (event) { |
var msgEl = document.getElementById('msg'); |
sendChannel.send(''); |
msgEl.innerHTML += 'Sent: [empty string]<br>'; |
sendChannel.send('done'); |
msgEl.innerHTML += 'Sent: "done"<br>'; |
- }; |
+ }); |
// Check the messages received on the other side. |
// There should be an empty string message followed by a message that |