EME WPT idlharness.html failure: MediaKeyMessageEvent interface object length |
|||||||
Issue descriptionThe "MediaKeyMessageEvent interface object length" test at http://www.w3c-test.org/encrypted-media/idlharness.html fails with the following error: > assert_equals: wrong value for MediaKeyMessageEvent.length expected 2 but got 1 Note: The "MediaEncryptedEvent interface object length" test passes. These are both custom event types with two parameters. I don't remember seeing this when I originally looked at the IDL test failures, but I could be wrong. It fails in both M54 and M56. It might have been caused by https://github.com/w3c/web-platform-tests/commit/fe565a9ffd883246b956c75750039a8b04994cc5#diff-57f92c071457a3c51e03bc8bf689457d I see that Blink's MediaKeyMessageEvent.idl still has "optional" for eventInitDict. Maybe fixing that will fix this test.
,
Nov 18 2016
,
Nov 21 2016
This is a trivial IDL change to match the spec and pass the IDL spec test. I'd like M56 to be "complete" in this area.
,
Nov 21 2016
Your change meets the bar and is auto-approved for M56 (branch: 2924)
,
Nov 22 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ab838c4a9c12c1e003607c9fdeaea4333cdcbec4 commit ab838c4a9c12c1e003607c9fdeaea4333cdcbec4 Author: John Rummell <jrummell@chromium.org> Date: Tue Nov 22 01:47:37 2016 Merge "EME: Update MediaKeyMessageEvent to match spec" MediaKeyMessageEventInit is now required for the constructor. BUG= 666869 TEST=W3C EME test mentioned in the bug no longer fails. Review-Url: https://codereview.chromium.org/2514933002 Cr-Commit-Position: refs/heads/master@{#433323} (cherry picked from commit 23ca36ab9e996dfad12a6bd21346208c56f918d0) Review URL: https://codereview.chromium.org/2518213002 . Cr-Commit-Position: refs/branch-heads/2924@{#52} Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059} [modify] https://crrev.com/ab838c4a9c12c1e003607c9fdeaea4333cdcbec4/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyMessageEvent.idl
,
Nov 22 2016
,
Nov 22 2016
Fixed in M56 and later. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by bugdroid1@chromium.org
, Nov 18 2016