Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/webrtc/datachannel-emptystring.html

Issue 2610243002: Import wpt@5e1a3b80cea8d36774d2afd78b29a74792e9f15a (Closed)
Patch Set: Rebased Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698