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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 void methodWithSequenceArg(sequence<ScriptProfile> sequenceArg); | 82 void methodWithSequenceArg(sequence<ScriptProfile> sequenceArg); |
83 sequence<ScriptProfile> methodReturningSequence(long longArg); | 83 sequence<ScriptProfile> methodReturningSequence(long longArg); |
84 | 84 |
85 void methodWithEnumArg(TestEnumType enumArg); | 85 void methodWithEnumArg(TestEnumType enumArg); |
86 [RaisesException] TestObject methodThatRequiresAllArgsAndThrows(DOMString st
rArg, TestObject objArg); | 86 [RaisesException] TestObject methodThatRequiresAllArgsAndThrows(DOMString st
rArg, TestObject objArg); |
87 | 87 |
88 void serializedValue(SerializedScriptValue serializedArg); | 88 void serializedValue(SerializedScriptValue serializedArg); |
89 void optionsObject(Dictionary oo, optional Dictionary ooo); | 89 void optionsObject(Dictionary oo, optional Dictionary ooo); |
90 | 90 |
91 // Indexed/named properties | 91 // Indexed/named properties |
92 [ImplementedAs=item] getter Node (unsigned long index); | 92 [ImplementedAs=item] getter (NodeList or Node)(unsigned long index); |
93 getter DOMString namedItem(DOMString name); | 93 getter DOMString namedItem(DOMString name); |
94 | 94 |
95 // Exceptions | 95 // Exceptions |
96 [RaisesException] void methodWithException(); | 96 [RaisesException] void methodWithException(); |
97 [GetterRaisesException] attribute long attrWithGetterException; | 97 [GetterRaisesException] attribute long attrWithGetterException; |
98 [SetterRaisesException] attribute long attrWithSetterException; | 98 [SetterRaisesException] attribute long attrWithSetterException; |
99 [GetterRaisesException] attribute DOMString stringAttrWithGetterException; | 99 [GetterRaisesException] attribute DOMString stringAttrWithGetterException; |
100 [SetterRaisesException] attribute DOMString stringAttrWithSetterException; | 100 [SetterRaisesException] attribute DOMString stringAttrWithSetterException; |
101 | 101 |
102 // 'Custom' extended attribute | 102 // 'Custom' extended attribute |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 [DeprecateAs=StaticReadonlyAttribute] static readonly attribute long depreca
tedStaticReadOnlyAttr; | 298 [DeprecateAs=StaticReadonlyAttribute] static readonly attribute long depreca
tedStaticReadOnlyAttr; |
299 [DeprecateAs=StaticAttribute] static attribute long deprecatedStaticAttr; | 299 [DeprecateAs=StaticAttribute] static attribute long deprecatedStaticAttr; |
300 [DeprecateAs=ReadonlyAttribute] readonly attribute long deprecatedReadonlyAt
tr; | 300 [DeprecateAs=ReadonlyAttribute] readonly attribute long deprecatedReadonlyAt
tr; |
301 [DeprecateAs=Attribute] attribute long deprecatedAttr; | 301 [DeprecateAs=Attribute] attribute long deprecatedAttr; |
302 | 302 |
303 [DeprecateAs=Method] void deprecatedMethod(); | 303 [DeprecateAs=Method] void deprecatedMethod(); |
304 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); | 304 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); |
305 | 305 |
306 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; | 306 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; |
307 }; | 307 }; |
OLD | NEW |