mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision b'3ee7ccc2abbbc8d8f6efbb45f80bffdb3c0c76ba'
This commit is contained in:
parent
111363d338
commit
2ebdfcea9d
630 changed files with 8297 additions and 4979 deletions
|
@ -57,10 +57,10 @@ test(function(t) {
|
|||
const transceiver = pc.addTransceiver('audio');
|
||||
const capabilities = transceiver.getHeaderExtensionsToNegotiate();
|
||||
capabilities[0].uri = "4711";
|
||||
assert_throws_dom("NotSupportedError", () => {
|
||||
assert_throws_dom('InvalidModificationError', () => {
|
||||
transceiver.setHeaderExtensionsToNegotiate(capabilities);
|
||||
}, 'transceiver should throw NotSupported when setting an unknown URI');
|
||||
}, `setHeaderExtensionsToNegotiate throws NotSupported on encountering unknown URI`);
|
||||
}, 'transceiver should throw InvalidModificationError when setting an unknown URI');
|
||||
}, `setHeaderExtensionsToNegotiate throws InvalidModificationError on encountering unknown URI`);
|
||||
|
||||
test(function(t) {
|
||||
const pc = new RTCPeerConnection();
|
||||
|
@ -72,7 +72,7 @@ test(function(t) {
|
|||
});
|
||||
["sendonly", "recvonly", "inactive", "stopped"].map(direction => {
|
||||
capability.direction = direction;
|
||||
assert_throws_dom("InvalidModificationError", () => {
|
||||
assert_throws_dom('InvalidModificationError', () => {
|
||||
transceiver.setHeaderExtensionsToNegotiate(capabilities);
|
||||
}, `transceiver should throw InvalidModificationError when setting a mandatory header extension\'s direction to ${direction}`);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue