OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://w3c.github.io/encrypted-media/#mediakeymessageevent | 5 // https://w3c.github.io/encrypted-media/#mediakeymessageevent |
6 | 6 |
7 dictionary MediaKeyMessageEventInit : EventInit { | 7 dictionary MediaKeyMessageEventInit : EventInit { |
8 MediaKeyMessageType messageType = "license-request"; | 8 required MediaKeyMessageType messageType; |
9 // TODO(foolip): |message| should be required and not nullable. | 9 required ArrayBuffer message; |
10 // https://crbug.com/647693 | |
11 // https://github.com/w3c/encrypted-media/issues/329 | |
12 ArrayBuffer? message; | |
13 }; | 10 }; |
OLD | NEW |