OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 [ | 26 [ |
27 RuntimeEnabled=PrefixedEncryptedMedia, | 27 RuntimeEnabled=PrefixedEncryptedMedia, |
28 ConstructorTemplate=Event | 28 ConstructorTemplate=Event |
29 ] interface MediaKeyEvent : Event { | 29 ] interface MediaKeyEvent : Event { |
30 [InitializedByEventConstructor] readonly attribute DOMString keySystem; | 30 [InitializedByEventConstructor] readonly attribute DOMString keySystem; |
31 [InitializedByEventConstructor] readonly attribute DOMString sessionId; | 31 [InitializedByEventConstructor] readonly attribute DOMString sessionId; |
32 [InitializedByEventConstructor] readonly attribute Uint8Array initData; | 32 [InitializedByEventConstructor] readonly attribute Uint8Array initData; |
33 [InitializedByEventConstructor] readonly attribute Uint8Array message; | 33 [InitializedByEventConstructor] readonly attribute Uint8Array message; |
34 [InitializedByEventConstructor] readonly attribute DOMString defaultURL; | 34 [InitializedByEventConstructor] readonly attribute DOMString defaultURL; |
35 [InitializedByEventConstructor] readonly attribute MediaKeyError errorCode; | 35 [InitializedByEventConstructor] readonly attribute MediaKeyError? errorCode; |
36 [InitializedByEventConstructor] readonly attribute unsigned short systemCode
; | 36 [InitializedByEventConstructor] readonly attribute unsigned short systemCode
; |
37 }; | 37 }; |
38 | 38 |
OLD | NEW |