| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 static readonly attribute TestSubObjConstructor TestSubObj; | 44 static readonly attribute TestSubObjConstructor TestSubObj; |
| 45 #endif | 45 #endif |
| 46 attribute short shortAttr; | 46 attribute short shortAttr; |
| 47 attribute unsigned short unsignedShortAttr; | 47 attribute unsigned short unsignedShortAttr; |
| 48 attribute long longAttr; | 48 attribute long longAttr; |
| 49 attribute long long longLongAttr; | 49 attribute long long longLongAttr; |
| 50 attribute unsigned long long unsignedLongLongAttr; | 50 attribute unsigned long long unsignedLongLongAttr; |
| 51 attribute DOMString stringAttr; | 51 attribute DOMString stringAttr; |
| 52 attribute [V8MeasureAs=TestFeature] TestObj testObjAttr; | 52 attribute [V8MeasureAs=TestFeature] TestObj testObjAttr; |
| 53 | 53 |
| 54 JS, V8 | |
| 55 // WK_ucfirst, WK_lcfirst exceptional cases. | 54 // WK_ucfirst, WK_lcfirst exceptional cases. |
| 56 attribute TestObj XMLObjAttr; | 55 attribute TestObj XMLObjAttr; |
| 57 attribute boolean create; | 56 attribute boolean create; |
| 58 | 57 |
| 59 // Reflected DOM attributes | 58 // Reflected DOM attributes |
| 60 attribute [Reflect] DOMString reflectedStringAttr; | 59 attribute [Reflect] DOMString reflectedStringAttr; |
| 61 attribute [Reflect] long reflectedIntegralAttr; | 60 attribute [Reflect] long reflectedIntegralAttr; |
| 62 attribute [Reflect] unsigned long reflectedUnsignedIntegralAttr; | 61 attribute [Reflect] unsigned long reflectedUnsignedIntegralAttr; |
| 63 attribute [Reflect] boolean reflectedBooleanAttr; | 62 attribute [Reflect] boolean reflectedBooleanAttr; |
| 64 attribute [Reflect, URL] DOMString reflectedURLAttr; | 63 attribute [Reflect, URL] DOMString reflectedURLAttr; |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 void methodWithUnsignedLongSequence(in sequence<unsigned long> unsignedL
ongSequence); | 218 void methodWithUnsignedLongSequence(in sequence<unsigned long> unsignedL
ongSequence); |
| 220 #endif | 219 #endif |
| 221 #if defined(TESTING_V8) || defined(TESTING_JS) | 220 #if defined(TESTING_V8) || defined(TESTING_JS) |
| 222 DOMString[] stringArrayFunction(in DOMString[] values) raises(DOMExcepti
on); | 221 DOMString[] stringArrayFunction(in DOMString[] values) raises(DOMExcepti
on); |
| 223 #endif | 222 #endif |
| 224 | 223 |
| 225 readonly attribute [CheckSecurityForNode] Document contentDocument; | 224 readonly attribute [CheckSecurityForNode] Document contentDocument; |
| 226 [CheckSecurityForNode] SVGDocument getSVGDocument() | 225 [CheckSecurityForNode] SVGDocument getSVGDocument() |
| 227 raises(DOMException); | 226 raises(DOMException); |
| 228 | 227 |
| 229 void convert1(in [TreatReturnedNullStringAs=Null] a); | 228 void convert1(in [TreatReturnedNullStringAs=Null] a value); |
| 230 void convert2(in [TreatReturnedNullStringAs=Undefined] b); | 229 void convert2(in [TreatReturnedNullStringAs=Undefined] b value); |
| 231 void convert4(in [TreatNullAs=NullString] d); | 230 void convert4(in [TreatNullAs=NullString] d value); |
| 232 void convert5(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] e
); | 231 void convert5(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] e
value); |
| 233 | 232 |
| 234 attribute SVGPoint mutablePoint; | 233 attribute SVGPoint mutablePoint; |
| 235 attribute [Immutable] SVGPoint immutablePoint; | 234 attribute [Immutable] SVGPoint immutablePoint; |
| 236 SVGPoint mutablePointFunction(); | 235 SVGPoint mutablePointFunction(); |
| 237 [Immutable] SVGPoint immutablePointFunction(); | 236 [Immutable] SVGPoint immutablePointFunction(); |
| 238 | 237 |
| 239 [ImplementedAs=banana] void orange(); | 238 [ImplementedAs=banana] void orange(); |
| 240 attribute [ImplementedAs=blueberry] long strawberry; | 239 attribute [ImplementedAs=blueberry] long strawberry; |
| 241 | 240 |
| 242 attribute [StrictTypeChecking] float strictFloat; | 241 attribute [StrictTypeChecking] float strictFloat; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 256 const unsigned short CONST_VALUE_8 = 8; | 255 const unsigned short CONST_VALUE_8 = 8; |
| 257 const short CONST_VALUE_9 = -1; | 256 const short CONST_VALUE_9 = -1; |
| 258 const DOMString CONST_VALUE_10 = "my constant string"; | 257 const DOMString CONST_VALUE_10 = "my constant string"; |
| 259 const unsigned short CONST_VALUE_11 = 0xffffffff; | 258 const unsigned short CONST_VALUE_11 = 0xffffffff; |
| 260 const unsigned short CONST_VALUE_12 = 0x01; | 259 const unsigned short CONST_VALUE_12 = 0x01; |
| 261 const unsigned short CONST_VALUE_13 = 0X20; | 260 const unsigned short CONST_VALUE_13 = 0X20; |
| 262 const unsigned short CONST_VALUE_14 = 0x1abc; | 261 const unsigned short CONST_VALUE_14 = 0x1abc; |
| 263 [Reflect=CONST_IMPL] const unsigned short CONST_JAVASCRIPT = 15; | 262 [Reflect=CONST_IMPL] const unsigned short CONST_JAVASCRIPT = 15; |
| 264 | 263 |
| 265 attribute [Replaceable] long replaceableAttribute; | 264 attribute [Replaceable] long replaceableAttribute; |
| 265 |
| 266 void variadicStringMethod(in DOMString head, in DOMString... tail); |
| 267 void variadicDoubleMethod(in double head, in double... tail); |
| 268 void variadicNodeMethod(in Node head, in Node... tail); |
| 266 }; | 269 }; |
| 267 } | 270 } |
| OLD | NEW |