Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<title>callback-based createOffer</title>
<script src="https://rawgit.com/w3c/testharness.js/master/testharness.js"></script>
<script src="https://rawgit.com/w3c/testharness.js/master/testharnessreport.js"></script>
<script>
async_test(t => {
  var cb = t.step_func_done();
  var pc = new RTCPeerConnection({ iceServers: [] });
  pc.createOffer(cb, cb);
});
</script>
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers