Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Side by Side Diff: Source/core/testing/TypeConversions.idl

Issue 361883004: Replace many [TreatReturnedNullStringAs=Null] with nullable DOMString (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 50 [ImplementedAs=testByteString, TreatReturnedNullStringAs=Null] attribute Byt eString testByteStringTreatReturnedNullStringAsNullAttribute;
51 [ImplementedAs=testByteString, TreatReturnedNullStringAs=Undefined] attribut e ByteString testByteStringTreatReturnedNullStringAsUndefinedAttribute; 51 [ImplementedAs=testByteString, TreatReturnedNullStringAs=Undefined] attribut e ByteString testByteStringTreatReturnedNullStringAsUndefinedAttribute;
52 [ImplementedAs=testByteString, TreatReturnedNullStringAs=Null] ByteString ge tTestByteStringTreatReturnedNullStringAsNullMethod(); 52 [ImplementedAs=testByteString] ByteString? getTestByteStringTreatReturnedNul lStringAsNullMethod();
53 [ImplementedAs=testByteString, TreatReturnedNullStringAs=Undefined] ByteStri ng getTestByteStringTreatReturnedNullStringAsUndefinedMethod(); 53 [ImplementedAs=testByteString, TreatReturnedNullStringAs=Undefined] ByteStri ng getTestByteStringTreatReturnedNullStringAsUndefinedMethod();
54 void setTestByteString(ByteString byteString); 54 void setTestByteString(ByteString byteString);
55 [ImplementedAs=setTestByteString] void setTestByteStringDefaultNull(optional ByteString byteString = null); 55 [ImplementedAs=setTestByteString] void setTestByteStringDefaultNull(optional ByteString byteString = null);
56 56
57 attribute ScalarValueString testScalarValueString; 57 attribute ScalarValueString testScalarValueString;
58 [ImplementedAs=testScalarValueString, TreatReturnedNullStringAs=Null] attrib ute ScalarValueString testScalarValueStringTreatReturnedNullStringAsNullAttribut e; 58 [ImplementedAs=testScalarValueString, TreatReturnedNullStringAs=Null] attrib ute ScalarValueString testScalarValueStringTreatReturnedNullStringAsNullAttribut e;
59 [ImplementedAs=testScalarValueString, TreatReturnedNullStringAs=Undefined] a ttribute ScalarValueString testScalarValueStringTreatReturnedNullStringAsUndefin edAttribute; 59 [ImplementedAs=testScalarValueString, TreatReturnedNullStringAs=Undefined] a ttribute ScalarValueString testScalarValueStringTreatReturnedNullStringAsUndefin edAttribute;
60 [ImplementedAs=testScalarValueString, TreatReturnedNullStringAs=Null] Scalar ValueString getTestScalarValueStringTreatReturnedNullStringAsNullMethod(); 60 [ImplementedAs=testScalarValueString] ScalarValueString? getTestScalarValueS tringTreatReturnedNullStringAsNullMethod();
61 [ImplementedAs=testScalarValueString, TreatReturnedNullStringAs=Undefined] S calarValueString getTestScalarValueStringTreatReturnedNullStringAsUndefinedMetho d(); 61 [ImplementedAs=testScalarValueString, TreatReturnedNullStringAs=Undefined] S calarValueString getTestScalarValueStringTreatReturnedNullStringAsUndefinedMetho d();
62 void setTestScalarValueString(ScalarValueString scalarValueString); 62 void setTestScalarValueString(ScalarValueString scalarValueString);
63 [ImplementedAs=setTestScalarValueString] void setTestScalarValueStringDefaul tNull(optional ScalarValueString scalarValueString = null); 63 [ImplementedAs=setTestScalarValueString] void setTestScalarValueStringDefaul tNull(optional ScalarValueString scalarValueString = null);
64 }; 64 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698