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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 29 matching lines...) Expand all Loading... |
40 [EnforceRange, ImplementedAs=testByte] attribute byte testEnforceRangeByte; | 40 [EnforceRange, ImplementedAs=testByte] attribute byte testEnforceRangeByte; |
41 attribute octet testOctet; | 41 attribute octet testOctet; |
42 [EnforceRange, ImplementedAs=testOctet] attribute octet testEnforceRangeOcte
t; | 42 [EnforceRange, ImplementedAs=testOctet] attribute octet testEnforceRangeOcte
t; |
43 | 43 |
44 attribute short testShort; | 44 attribute short testShort; |
45 [EnforceRange, ImplementedAs=testShort] attribute short testEnforceRangeShor
t; | 45 [EnforceRange, ImplementedAs=testShort] attribute short testEnforceRangeShor
t; |
46 attribute unsigned short testUnsignedShort; | 46 attribute unsigned short testUnsignedShort; |
47 [EnforceRange, ImplementedAs=testUnsignedShort] attribute unsigned short tes
tEnforceRangeUnsignedShort; | 47 [EnforceRange, ImplementedAs=testUnsignedShort] attribute unsigned short tes
tEnforceRangeUnsignedShort; |
48 | 48 |
49 attribute ByteString testByteString; | 49 attribute ByteString testByteString; |
50 [ImplementedAs=testByteString, TreatReturnedNullStringAs=Null] attribute Byt
eString testByteStringTreatReturnedNullStringAsNullAttribute; | |
51 [ImplementedAs=testByteString, TreatReturnedNullStringAs=Undefined] attribut
e ByteString testByteStringTreatReturnedNullStringAsUndefinedAttribute; | |
52 [ImplementedAs=testByteString] ByteString? getTestByteStringTreatReturnedNul
lStringAsNullMethod(); | |
53 [ImplementedAs=testByteString, TreatReturnedNullStringAs=Undefined] ByteStri
ng getTestByteStringTreatReturnedNullStringAsUndefinedMethod(); | |
54 void setTestByteString(ByteString byteString); | 50 void setTestByteString(ByteString byteString); |
55 [ImplementedAs=setTestByteString] void setTestByteStringDefaultNull(optional
ByteString byteString = null); | 51 [ImplementedAs=setTestByteString] void setTestByteStringDefaultNull(optional
ByteString byteString = null); |
56 | 52 |
57 attribute USVString testUSVString; | 53 attribute USVString testUSVString; |
58 [ImplementedAs=testUSVString, TreatReturnedNullStringAs=Null] attribute USVS
tring testUSVStringTreatReturnedNullStringAsNullAttribute; | |
59 [ImplementedAs=testUSVString, TreatReturnedNullStringAs=Undefined] attribute
USVString testUSVStringTreatReturnedNullStringAsUndefinedAttribute; | |
60 [ImplementedAs=testUSVString] USVString? getTestUSVStringTreatReturnedNullSt
ringAsNullMethod(); | |
61 [ImplementedAs=testUSVString, TreatReturnedNullStringAs=Undefined] USVString
getTestUSVStringTreatReturnedNullStringAsUndefinedMethod(); | |
62 void setTestUSVString(USVString usvString); | 54 void setTestUSVString(USVString usvString); |
63 [ImplementedAs=setTestUSVString] void setTestUSVStringDefaultNull(optional U
SVString usvString = null); | 55 [ImplementedAs=setTestUSVString] void setTestUSVStringDefaultNull(optional U
SVString usvString = null); |
64 }; | 56 }; |
OLD | NEW |