mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Update web-platform-tests to revision 064f51c50eab34723ef435e80188bde08f718c2c
This commit is contained in:
parent
348f5520ee
commit
3c4e5d8f18
44 changed files with 769 additions and 789 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue