Update MediaKeySession.Close() to match the EME spec
Update the code to match https://w3c.github.io/encrypted-media/#close. Most noticeable change is that other requests will be rejected once close() has been called. Previously this only happened after the CDM actually closed the session (as acknowledged by the close event). BUG=901372 TEST=new layout tests pass Change-Id: I59c2ad2705f1928d74e6f41a853c0f25c8975189 Reviewed-on: https://chromium-review.googlesource.com/c/1330349Reviewed-by:Xiaohan Wang <xhwang@chromium.org> Commit-Queue: John Rummell <jrummell@chromium.org> Cr-Commit-Position: refs/heads/master@{#607354}
Showing
Please register or sign in to comment