| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 Exposed=(Worker,Window), | 45 Exposed=(Worker,Window), |
| 46 ] interface TestInterface : TestInterfaceEmpty { | 46 ] interface TestInterface : TestInterfaceEmpty { |
| 47 // members needed to test [ImplementedAs], as this affect attribute | 47 // members needed to test [ImplementedAs], as this affect attribute |
| 48 // configuration and method configuration, and [TypeChecking] | 48 // configuration and method configuration, and [TypeChecking] |
| 49 // constants also needed for [DoNotCheckConstants] | 49 // constants also needed for [DoNotCheckConstants] |
| 50 const unsigned long UNSIGNED_LONG = 0; | 50 const unsigned long UNSIGNED_LONG = 0; |
| 51 [Reflect=CONST_CPP] const short CONST_JAVASCRIPT = 1; | 51 [Reflect=CONST_CPP] const short CONST_JAVASCRIPT = 1; |
| 52 | 52 |
| 53 [Measure] attribute TestInterface testInterfaceAttribute; // Self-referentia
l interface type with [ImplementedAs] | 53 [Measure] attribute TestInterface testInterfaceAttribute; // Self-referentia
l interface type with [ImplementedAs] |
| 54 attribute TestInterfaceConstructor testInterfaceConstructorAttribute; | 54 attribute TestInterfaceConstructor testInterfaceConstructorAttribute; |
| 55 attribute TestInterfaceConstructor TestInterface; |
| 56 attribute TestInterface2Constructor TestInterface2; |
| 55 attribute double doubleAttribute; | 57 attribute double doubleAttribute; |
| 56 attribute float floatAttribute; | 58 attribute float floatAttribute; |
| 57 attribute unrestricted double unrestrictedDoubleAttribute; | 59 attribute unrestricted double unrestrictedDoubleAttribute; |
| 58 attribute unrestricted float unrestrictedFloatAttribute; | 60 attribute unrestricted float unrestrictedFloatAttribute; |
| 59 attribute TestEnum testEnumAttribute; | 61 attribute TestEnum testEnumAttribute; |
| 60 attribute DOMStringOrDouble stringOrDoubleAttribute; | 62 attribute DOMStringOrDouble stringOrDoubleAttribute; |
| 61 static attribute DOMString staticStringAttribute; | 63 static attribute DOMString staticStringAttribute; |
| 62 [LegacyInterfaceTypeChecking] attribute TestInterfaceEmpty legacyInterfaceTy
peCheckingAttribute; | 64 [LegacyInterfaceTypeChecking] attribute TestInterfaceEmpty legacyInterfaceTy
peCheckingAttribute; |
| 63 | 65 |
| 64 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr
g); | 66 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyAr
g); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 Promise promiseMethodPartialOverload(); | 110 Promise promiseMethodPartialOverload(); |
| 109 Promise promiseMethodPartialOverload(Window window); | 111 Promise promiseMethodPartialOverload(Window window); |
| 110 static Promise staticPromiseMethodPartialOverload(); | 112 static Promise staticPromiseMethodPartialOverload(); |
| 111 | 113 |
| 112 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingMethod(TestInt
erfaceEmpty testInterfaceEmptyArg); | 114 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingMethod(TestInt
erfaceEmpty testInterfaceEmptyArg); |
| 113 }; | 115 }; |
| 114 | 116 |
| 115 TestInterface implements TestImplements; | 117 TestInterface implements TestImplements; |
| 116 // TestInterface implements TestImplements2; // at implement*ed* interface | 118 // TestInterface implements TestImplements2; // at implement*ed* interface |
| 117 TestInterface implements TestImplements3; | 119 TestInterface implements TestImplements3; |
| OLD | NEW |