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

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers