https://www.w3c-test.org/encrypted-media/drm-mp4-playback-persistent-license-events.html fails due to missing and incorrectly ordered events and promise resolutions. This bug tracks the test failure, which is due to underlying issues as described below.
The reported events are:
0: "generaterequest"
1: "license-request"
2: "license-request-response"
3: "update-resolved"
4: "license-request"
5: "license-request-response"
6 : "update-resolved"
// Begin last sequence:
7: "keystatuseschange"
8: "playing"
9: "license-release"
10: "license-release-response"
11: "update-resolved"
The last sequence is expected to be the following. The starred ones are missing and followed by the relevant issue.
0: "keystatuseschange"
1: "playing"
2: *"remove-resolved"* - issue 659838
3: *"keystatuseschange"* - issue 659829
4: "license-release"
5: "license-release-response"
6: *"closed-attribute-resolved"* - issue 659833
7: "update-resolved"
"remove-resolved" will actually occur, but it happens after the final update() call is resolved, so it has not occurred by the time the events are compared.
Comment 1 by jrumm...@chromium.org
, Nov 23 2016