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 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 * | 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 18 matching lines...) Expand all Loading... |
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 ConstructorCallWith=ExecutionContext, | 34 ConstructorCallWith=ExecutionContext, |
35 Constructor(DOMString str1, [Default=Undefined] optional DOMString str2), | 35 Constructor(DOMString str1, [Default=Undefined] optional DOMString str2), |
36 RaisesException=Constructor, | 36 RaisesException=Constructor, |
37 SetWrapperReferenceTo(ReferencedType referencedName), | 37 SetWrapperReferenceTo(ReferencedType referencedName), |
38 ] interface TestInterface { | 38 ] interface TestInterface { |
39 [ImplementedAs=getItem] getter (Node or NodeList) (DOMString name); | 39 [ImplementedAs=getItem] getter (Node or NodeList) namedItem(DOMString name); |
40 [Custom] setter Node (DOMString name, Node value); | 40 [Custom] setter Node (DOMString name, Node value); |
41 }; | 41 }; |
42 | 42 |
43 TestInterface implements TestImplements; | 43 TestInterface implements TestImplements; |
OLD | NEW |