Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee

This commit is contained in:
WPT Sync Bot 2018-04-23 21:13:37 -04:00
parent c5f7c9ccf3
commit e891345f26
1328 changed files with 36632 additions and 20588 deletions

View file

@ -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");