tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

RTCDataChannel-send-close-blob.window.js (378B)


      1 // META: title=RTCDataChannel.prototype.send with large Blob
      2 // META: script=RTCPeerConnection-helper.js
      3 // META: script=RTCDataChannel-send-close-helper.js
      4 // META: timeout=long
      5 
      6 'use strict';
      7 
      8 const largeBlob = new Blob([' '.repeat(largeSendDataLength)]);
      9 rtc_data_channel_send_close_test(/*sendData=*/ largeBlob,
     10                                 /*dataChannelOptions=*/ {});