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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 void voidMethod(); | 74 void voidMethod(); |
75 void voidMethodWithArgs(in long longArg, in DOMString strArg, in TestObj
objArg); | 75 void voidMethodWithArgs(in long longArg, in DOMString strArg, in TestObj
objArg); |
76 long longMethod(); | 76 long longMethod(); |
77 long longMethodWithArgs(in long longArg, in DOMString strArg, in TestObj
objArg); | 77 long longMethodWithArgs(in long longArg, in DOMString strArg, in TestObj
objArg); |
78 [V8MeasureAs=TestFeature] TestObj objMethod(); | 78 [V8MeasureAs=TestFeature] TestObj objMethod(); |
79 TestObj objMethodWithArgs(in long longArg, in DOMString strArg, in TestObj o
bjArg); | 79 TestObj objMethodWithArgs(in long longArg, in DOMString strArg, in TestObj o
bjArg); |
80 | 80 |
81 void methodWithSequenceArg(in sequence<ScriptProfile> sequenceArg); | 81 void methodWithSequenceArg(in sequence<ScriptProfile> sequenceArg); |
82 sequence<ScriptProfile> methodReturningSequence(in long longArg); | 82 sequence<ScriptProfile> methodReturningSequence(in long longArg); |
83 | 83 |
| 84 void methodWithEnumArg(in TestEnumType enumArg); |
84 TestObj methodThatRequiresAllArgsAndThrows(in DOMString strArg, in TestObj o
bjArg) | 85 TestObj methodThatRequiresAllArgsAndThrows(in DOMString strArg, in TestObj o
bjArg) |
85 raises(DOMException); | 86 raises(DOMException); |
86 | 87 |
87 void serializedValue(in SerializedScriptValue serializedArg); | 88 void serializedValue(in SerializedScriptValue serializedArg); |
88 void optionsObject(in Dictionary oo, in [Optional] Dictionary ooo); | 89 void optionsObject(in Dictionary oo, in [Optional] Dictionary ooo); |
89 | 90 |
90 // Exceptions | 91 // Exceptions |
91 void methodWithException() raises(DOMException); | 92 void methodWithException() raises(DOMException); |
92 attribute long attrWithGetterException getter raises(DOMException); | 93 attribute long attrWithGetterException getter raises(DOMException); |
93 attribute long attrWithSetterException setter raises(DOMException); | 94 attribute long attrWithSetterException setter raises(DOMException); |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 // Nullable attributes. | 289 // Nullable attributes. |
289 readonly attribute double? nullableDoubleAttribute; | 290 readonly attribute double? nullableDoubleAttribute; |
290 readonly attribute long? nullableLongAttribute; | 291 readonly attribute long? nullableLongAttribute; |
291 readonly attribute boolean? nullableBooleanAttribute; | 292 readonly attribute boolean? nullableBooleanAttribute; |
292 readonly attribute DOMString? nullableStringAttribute; | 293 readonly attribute DOMString? nullableStringAttribute; |
293 | 294 |
294 attribute long? nullableLongSettableAttribute; | 295 attribute long? nullableLongSettableAttribute; |
295 | 296 |
296 attribute long? nullableStringValue | 297 attribute long? nullableStringValue |
297 getter raises(DOMException); | 298 getter raises(DOMException); |
| 299 |
| 300 #if defined(TESTING_V8) |
| 301 [V8PerWorldBindings] readonly attribute TestObj perWorldReadOnlyAttribute; |
| 302 [V8PerWorldBindings] attribute TestObj perWorldAttribute; |
| 303 [V8PerWorldBindings] void perWorldMethod(); |
| 304 [V8PerWorldBindings] void overloadedPerWorldMethod(in long longArg); |
| 305 [V8PerWorldBindings] void overloadedPerWorldMethod(in DOMString strArg, in l
ong longArg); |
| 306 #endif |
298 }; | 307 }; |
OLD | NEW |