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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 readonly attribute HTMLCollection htmlCollectionAttribute; | 105 readonly attribute HTMLCollection htmlCollectionAttribute; |
106 readonly attribute HTMLElement htmlElementAttribute; | 106 readonly attribute HTMLElement htmlElementAttribute; |
107 // Arrays | 107 // Arrays |
108 attribute DOMString[] stringArrayAttribute; | 108 attribute DOMString[] stringArrayAttribute; |
109 attribute TestInterfaceEmpty[] testInterfaceEmptyArrayAttribute; | 109 attribute TestInterfaceEmpty[] testInterfaceEmptyArrayAttribute; |
110 attribute float[] floatArrayAttribute; | 110 attribute float[] floatArrayAttribute; |
111 // FrozenArrays | 111 // FrozenArrays |
112 attribute FrozenArray<DOMString> stringFrozenArrayAttribute; | 112 attribute FrozenArray<DOMString> stringFrozenArrayAttribute; |
113 attribute FrozenArray<TestInterfaceEmpty> testInterfaceEmptyFrozenArrayAttri
bute; | 113 attribute FrozenArray<TestInterfaceEmpty> testInterfaceEmptyFrozenArrayAttri
bute; |
114 // Nullable attributes | 114 // Nullable attributes |
| 115 attribute boolean? booleanOrNullAttribute; |
115 attribute DOMString? stringOrNullAttribute; | 116 attribute DOMString? stringOrNullAttribute; |
116 attribute long? longOrNullAttribute; | 117 attribute long? longOrNullAttribute; |
117 attribute TestInterface? testInterfaceOrNullAttribute; | 118 attribute TestInterface? testInterfaceOrNullAttribute; |
118 // Enumerations | 119 // Enumerations |
119 attribute TestEnum testEnumAttribute; | 120 attribute TestEnum testEnumAttribute; |
120 attribute TestEnum? testEnumOrNullAttribute; | 121 attribute TestEnum? testEnumOrNullAttribute; |
121 // Static attributes | 122 // Static attributes |
122 static attribute DOMString staticStringAttribute; | 123 static attribute DOMString staticStringAttribute; |
123 static attribute long staticLongAttribute; | 124 static attribute long staticLongAttribute; |
124 // Exceptional type | 125 // Exceptional type |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 | 549 |
549 // Extended attributes on referenced interfaces | 550 // Extended attributes on referenced interfaces |
550 // (not self; self-reference tests at interface themselves) | 551 // (not self; self-reference tests at interface themselves) |
551 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] | 552 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] |
552 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] | 553 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu
te; // [GarbageCollected] |
553 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] | 554 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull
Attribute; // [GarbageCollected] |
554 | 555 |
555 maplike<long, DOMStringOrDouble>; | 556 maplike<long, DOMStringOrDouble>; |
556 [RuntimeEnabled=FeatureName, CallWith=ScriptState, RaisesException, Implemen
tedAs=myMaplikeClear] boolean clear(); | 557 [RuntimeEnabled=FeatureName, CallWith=ScriptState, RaisesException, Implemen
tedAs=myMaplikeClear] boolean clear(); |
557 }; | 558 }; |
OLD | NEW |