OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Motorola Mobility Inc. | 3 * Copyright (C) 2012 Motorola Mobility Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 16 matching lines...) Expand all Loading... |
27 module html { | 27 module html { |
28 interface [ | 28 interface [ |
29 Conditional=BLOB, | 29 Conditional=BLOB, |
30 Constructor, | 30 Constructor, |
31 JSGenerateToNativeObject, | 31 JSGenerateToNativeObject, |
32 JSGenerateToJSObject, | 32 JSGenerateToJSObject, |
33 JSNoStaticTables, | 33 JSNoStaticTables, |
34 InterfaceName=URL | 34 InterfaceName=URL |
35 ] DOMURL { | 35 ] DOMURL { |
36 #if defined(ENABLE_MEDIA_STREAM) && ENABLE_MEDIA_STREAM | 36 #if defined(ENABLE_MEDIA_STREAM) && ENABLE_MEDIA_STREAM |
37 [CallWith=ScriptExecutionContext,TreatReturnedNullStringAs=Undefined] st
atic DOMString createObjectURL(in MediaStream stream); | 37 [CallWith=ScriptExecutionContext,TreatReturnedNullStringAs=Null] static
DOMString createObjectURL(in MediaStream stream); |
38 #endif | 38 #endif |
39 [CallWith=ScriptExecutionContext,TreatReturnedNullStringAs=Undefined] st
atic DOMString createObjectURL(in Blob blob); | 39 [CallWith=ScriptExecutionContext,TreatReturnedNullStringAs=Null] static
DOMString createObjectURL(in Blob blob); |
40 [CallWith=ScriptExecutionContext] static void revokeObjectURL(in DOMStri
ng url); | 40 [CallWith=ScriptExecutionContext] static void revokeObjectURL(in DOMStri
ng url); |
41 }; | 41 }; |
42 } | 42 } |
OLD | NEW |