OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 void voidMethodAnyArg(any anyArg); | 278 void voidMethodAnyArg(any anyArg); |
279 // DOM node types | 279 // DOM node types |
280 void voidMethodAttrArg(Attr attrArg); | 280 void voidMethodAttrArg(Attr attrArg); |
281 void voidMethodDocumentArg(Document documentArg); | 281 void voidMethodDocumentArg(Document documentArg); |
282 void voidMethodDocumentTypeArg(DocumentType documentTypeArg); | 282 void voidMethodDocumentTypeArg(DocumentType documentTypeArg); |
283 void voidMethodElementArg(Element elementArg); | 283 void voidMethodElementArg(Element elementArg); |
284 void voidMethodNodeArg(Node nodeArg); | 284 void voidMethodNodeArg(Node nodeArg); |
285 // Typed arrays | 285 // Typed arrays |
286 ArrayBuffer arrayBufferMethod(); | 286 ArrayBuffer arrayBufferMethod(); |
287 ArrayBufferView arrayBufferViewMethod(); | 287 ArrayBufferView arrayBufferViewMethod(); |
| 288 [RaisesException] ArrayBufferView arrayBufferViewMethodRaisesException(); |
288 Float32Array float32ArrayMethod(); | 289 Float32Array float32ArrayMethod(); |
289 Int32Array int32ArrayMethod(); | 290 Int32Array int32ArrayMethod(); |
290 Uint8Array uint8ArrayMethod(); | 291 Uint8Array uint8ArrayMethod(); |
291 void voidMethodArrayBufferArg(ArrayBuffer arrayBufferArg); | 292 void voidMethodArrayBufferArg(ArrayBuffer arrayBufferArg); |
292 void voidMethodArrayBufferOrNullArg(ArrayBuffer? arrayBufferArg); | 293 void voidMethodArrayBufferOrNullArg(ArrayBuffer? arrayBufferArg); |
293 void voidMethodArrayBufferViewArg(ArrayBufferView arrayBufferViewArg); | 294 void voidMethodArrayBufferViewArg(ArrayBufferView arrayBufferViewArg); |
294 void voidMethodFlexibleArrayBufferViewArg([FlexibleArrayBufferView] ArrayBuf
ferView arrayBufferViewArg); | 295 void voidMethodFlexibleArrayBufferViewArg([FlexibleArrayBufferView] ArrayBuf
ferView arrayBufferViewArg); |
295 void voidMethodFlexibleArrayBufferViewTypedArg([FlexibleArrayBufferView] Flo
at32Array typedArrayBufferViewArg); | 296 void voidMethodFlexibleArrayBufferViewTypedArg([FlexibleArrayBufferView] Flo
at32Array typedArrayBufferViewArg); |
296 void voidMethodFloat32ArrayArg(Float32Array float32ArrayArg); | 297 void voidMethodFloat32ArrayArg(Float32Array float32ArrayArg); |
297 void voidMethodInt32ArrayArg(Int32Array int32ArrayArg); | 298 void voidMethodInt32ArrayArg(Int32Array int32ArrayArg); |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 | 550 |
550 // Extended attributes on referenced interfaces | 551 // Extended attributes on referenced interfaces |
551 // (not self; self-reference tests at interface themselves) | 552 // (not self; self-reference tests at interface themselves) |
552 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] | 553 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] |
553 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] | 554 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] |
554 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] | 555 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] |
555 | 556 |
556 maplike<long, DOMStringOrDouble>; | 557 maplike<long, DOMStringOrDouble>; |
557 [RuntimeEnabled=FeatureName, CallWith=ScriptState, RaisesException, Implemen
tedAs=myMaplikeClear] boolean clear(); | 558 [RuntimeEnabled=FeatureName, CallWith=ScriptState, RaisesException, Implemen
tedAs=myMaplikeClear] boolean clear(); |
558 }; | 559 }; |
OLD | NEW |