mirror of
https://github.com/servo/servo.git
synced 2025-09-03 11:38:22 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -15,9 +15,7 @@ test(function(t) {
|
|||
|
||||
test(function(t) {
|
||||
assert_throws(
|
||||
new TypeError("Failed to execute 'setActionHandler' on 'MediaSession':" +
|
||||
"The provided value 'invalid' is not a valid enum value" +
|
||||
"of type MediaSessionAction."),
|
||||
new TypeError,
|
||||
_ => { window.navigator.mediaSession.setActionHandler("invalid", null); });
|
||||
}, "Test that setActionHandler() throws exception for unsupported actions");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue