Bug 1645131 [wpt PR 24118] - Unbreak use of createDataChannelPair(), a=testonly
authorJan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>
Sat, 13 Jun 2020 03:32:31 +0000
changeset 536067 35513bcc2e6b81822f9ad3c9ad92290127197cf9
parent 536066 dfc9979a948d1d605c78d691fb030ebbc50b4e18
child 536068 9390f053462981c3bff30270e537a7e7ce269893
push id119222
push userwptsync@mozilla.com
push dateWed, 17 Jun 2020 08:44:34 +0000
treeherderautoland@666a2f6a86f1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1645131, 24118
milestone79.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1645131 [wpt PR 24118] - Unbreak use of createDataChannelPair(), a=testonly Automatic update from web-platform-tests Unbreak use of createDataChannelPair() (#24118) -- wpt-commits: 6ab9bc3dfe6eab2056d3d512f4914b3c6a825eb8 wpt-pr: 24118
testing/web-platform/tests/html/dom/usvstring-reflection.https.html
--- a/testing/web-platform/tests/html/dom/usvstring-reflection.https.html
+++ b/testing/web-platform/tests/html/dom/usvstring-reflection.https.html
@@ -119,17 +119,17 @@ test(() => {
   assert_equals(w.document.URL, 'about:blank#%EF%BF%BD');
   assert_equals(w.document.documentURI, 'about:blank#%EF%BF%BD');
 }, "Document URLs: unpaired surrogate codepoint should be replaced with U+FFFD")
 
 promise_test(t => {
   const sendString = 'hello\uD999';
   const receiveString = 'hello\uFFFD';
 
-  return createDataChannelPair()
+  return createDataChannelPair(t)
   .then(([channel1, channel2]) => {
     channel1.send(sendString);
     return awaitMessage(channel2)
   }).then(message => {
     assert_equals(typeof message, 'string',
       'Expect message to be a string');
 
     assert_equals(message, receiveString);