| 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 | 258 |
| 259 void variadicStringMethod(DOMString head, DOMString... tail); | 259 void variadicStringMethod(DOMString head, DOMString... tail); |
| 260 void variadicDoubleMethod(double head, double... tail); | 260 void variadicDoubleMethod(double head, double... tail); |
| 261 void variadicNodeMethod(Node head, Node... tail); | 261 void variadicNodeMethod(Node head, Node... tail); |
| 262 | 262 |
| 263 // Nullable attributes. | 263 // Nullable attributes. |
| 264 readonly attribute double? nullableDoubleAttribute; | 264 readonly attribute double? nullableDoubleAttribute; |
| 265 readonly attribute long? nullableLongAttribute; | 265 readonly attribute long? nullableLongAttribute; |
| 266 readonly attribute boolean? nullableBooleanAttribute; | 266 readonly attribute boolean? nullableBooleanAttribute; |
| 267 readonly attribute DOMString? nullableStringAttribute; | 267 readonly attribute DOMString? nullableStringAttribute; |
| 268 attribute long? nullableLongSettableAttribute; |
| 269 [GetterRaisesException] attribute long? nullableStringValue; |
| 268 | 270 |
| 269 attribute long? nullableLongSettableAttribute; | 271 // Nullable arguments. |
| 270 | 272 void methodWithNullableArguments(DOMString? str, long? l, TestObject? obj, o
ptional double? d); |
| 271 [GetterRaisesException] attribute long? nullableStringValue; | |
| 272 | 273 |
| 273 [PerWorldBindings] readonly attribute TestObject perWorldReadOnlyAttribute; | 274 [PerWorldBindings] readonly attribute TestObject perWorldReadOnlyAttribute; |
| 274 [PerWorldBindings] attribute TestObject perWorldAttribute; | 275 [PerWorldBindings] attribute TestObject perWorldAttribute; |
| 275 [PerWorldBindings] void perWorldMethod(); | 276 [PerWorldBindings] void perWorldMethod(); |
| 276 [PerWorldBindings] void overloadedPerWorldMethod(long longArg); | 277 [PerWorldBindings] void overloadedPerWorldMethod(long longArg); |
| 277 [PerWorldBindings] void overloadedPerWorldMethod(DOMString strArg, long long
Arg); | 278 [PerWorldBindings] void overloadedPerWorldMethod(DOMString strArg, long long
Arg); |
| 278 | 279 |
| 279 [ActivityLogging=Access] void activityLoggedMethod1(long longArg); | 280 [ActivityLogging=Access] void activityLoggedMethod1(long longArg); |
| 280 [PerWorldBindings, ActivityLogging=Access] void activityLoggedMethod2(long l
ongArg); | 281 [PerWorldBindings, ActivityLogging=Access] void activityLoggedMethod2(long l
ongArg); |
| 281 [PerWorldBindings, ActivityLogging=AccessForIsolatedWorlds] void activityLog
gedInIsolatedWorldMethod(long longArg); | 282 [PerWorldBindings, ActivityLogging=AccessForIsolatedWorlds] void activityLog
gedInIsolatedWorldMethod(long longArg); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 299 | 300 |
| 300 [DeprecateAs=Method] void deprecatedMethod(); | 301 [DeprecateAs=Method] void deprecatedMethod(); |
| 301 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); | 302 [DeprecateAs=StaticMethod] static void deprecatedStaticMethod(); |
| 302 | 303 |
| 303 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; | 304 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; |
| 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 |