Skip to content

[eme] Always check promise result of setMediaKeys()#8489

Merged
ddorwin merged 1 commit into
web-platform-tests:masterfrom
jrummell-chromium:setmediakeys
Dec 6, 2017
Merged

[eme] Always check promise result of setMediaKeys()#8489
ddorwin merged 1 commit into
web-platform-tests:masterfrom
jrummell-chromium:setmediakeys

Conversation

@jrummell-chromium

@jrummell-chromium jrummell-chromium commented Nov 29, 2017

Copy link
Copy Markdown
Contributor

Several of the encrypted-media tests do not check that setMediaKeys() succeeds. As it is an asynchronous operation, it should be checked to catch failures, as well as ensuring that the operation completes before attempting to do things that rely on it being successful.

@ghost

ghost commented Nov 29, 2017

Copy link
Copy Markdown

Build PASSED

Started: 2017-11-29 00:14:46
Finished: 2017-11-29 00:54:12

View more information about this build on:

@ddorwin ddorwin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RS LGTM based on joeyparrish approval.

@ddorwin ddorwin merged commit 3b97978 into web-platform-tests:master Dec 6, 2017
@jrummell-chromium jrummell-chromium deleted the setmediakeys branch December 8, 2017 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment