Update web-platform-tests to revision 064f51c50eab34723ef435e80188bde08f718c2c

This commit is contained in:
WPT Sync Bot 2018-11-04 20:45:21 -05:00
parent 348f5520ee
commit 3c4e5d8f18
44 changed files with 769 additions and 789 deletions

View file

@ -0,0 +1,11 @@
<!doctype html>
<meta charset=utf-8>
<title>RTCPeerConnection constructor</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
test(() => {
const toStringThrows = { toString: function() { throw new Error; } };
assert_throws(new Error, () => new RTCPeerConnection({ peerIdentity: toStringThrows }));
}, "RTCPeerConnection constructor throws if the given peerIdentity getter throws");
</script>