| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Apple Inc. All rights reserved. | 3 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary formstrArg, with or without | 5 * Redistribution and use in source and binary formstrArg, 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 TestObject objMethodWithArgs(long longArg, DOMString strArg, TestObject objA
rg); | 86 TestObject objMethodWithArgs(long longArg, DOMString strArg, TestObject objA
rg); |
| 87 | 87 |
| 88 void methodWithSequenceArg(sequence<TestInterface> sequenceArg); | 88 void methodWithSequenceArg(sequence<TestInterface> sequenceArg); |
| 89 sequence<TestInterface> methodReturningSequence(long longArg); | 89 sequence<TestInterface> methodReturningSequence(long longArg); |
| 90 | 90 |
| 91 void methodWithEnumArg(TestEnumType enumArg); | 91 void methodWithEnumArg(TestEnumType enumArg); |
| 92 [RaisesException] TestObject methodThatRequiresAllArgsAndThrows(DOMString st
rArg, TestObject objArg); | 92 [RaisesException] TestObject methodThatRequiresAllArgsAndThrows(DOMString st
rArg, TestObject objArg); |
| 93 | 93 |
| 94 void serializedValue(SerializedScriptValue serializedArg); | 94 void serializedValue(SerializedScriptValue serializedArg); |
| 95 void optionsObject(Dictionary oo, optional Dictionary ooo); | 95 void optionsObject(Dictionary oo, optional Dictionary ooo); |
| 96 void optionsObjectList(sequence<Dictionary> list); |
| 96 | 97 |
| 97 // Indexed/named properties | 98 // Indexed/named properties |
| 98 [ImplementedAs=item] getter Node (unsigned long index); | 99 [ImplementedAs=item] getter Node (unsigned long index); |
| 99 [ImplementedAs=namedItem] getter DOMString (DOMString name); | 100 [ImplementedAs=namedItem] getter DOMString (DOMString name); |
| 100 | 101 |
| 101 // Exceptions | 102 // Exceptions |
| 102 [RaisesException] void methodWithException(); | 103 [RaisesException] void methodWithException(); |
| 103 [RaisesException=Getter] attribute long attrWithGetterException; | 104 [RaisesException=Getter] attribute long attrWithGetterException; |
| 104 [RaisesException=Setter] attribute long attrWithSetterException; | 105 [RaisesException=Setter] attribute long attrWithSetterException; |
| 105 [RaisesException=Getter] attribute DOMString stringAttrWithGetterException; | 106 [RaisesException=Getter] attribute DOMString stringAttrWithGetterException; |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; | 300 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; |
| 300 | 301 |
| 301 // PutForwards | 302 // PutForwards |
| 302 [PutForwards=href] readonly attribute TestNode location; | 303 [PutForwards=href] readonly attribute TestNode location; |
| 303 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; | 304 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; |
| 304 }; | 305 }; |
| 305 | 306 |
| 306 // The following comment should not generate any code | 307 // The following comment should not generate any code |
| 307 // TestObject implements TestImplements; | 308 // TestObject implements TestImplements; |
| 308 | 309 |
| OLD | NEW |