| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary formstrArg, with or without | 4 * Redistribution and use in source and binary formstrArg, 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 // This IDL file is for testing the bindings code generator and for tracking | 29 // This IDL file is for testing the bindings code generator and for tracking |
| 30 // changes in its ouput. | 30 // changes in its ouput. |
| 31 [ | 31 [ |
| 32 ActiveDOMObject, | 32 ActiveDOMObject, |
| 33 Conditional=Condition1|Condition2, | 33 Conditional=Condition1|Condition2, |
| 34 CallWith=ScriptExecutionContext, | 34 ConstructorCallWith=ScriptExecutionContext, |
| 35 Constructor(DOMString str1, [Default=Undefined] optional DOMString str2), | 35 Constructor(DOMString str1, [Default=Undefined] optional DOMString str2), |
| 36 RaisesException | 36 ConstructorRaisesException |
| 37 ] interface TestInterface { | 37 ] interface TestInterface { |
| 38 [ImplementedAs=getItem] getter (Node or NodeList)(DOMString name); | 38 [ImplementedAs=getItem] getter (Node or NodeList)(DOMString name); |
| 39 [Custom] setter Node (DOMString name, Node value); | 39 [Custom] setter Node (DOMString name, Node value); |
| 40 }; | 40 }; |
| OLD | NEW |