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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl

Issue 1711783003: Remove support for TreatReturnedNullStringAs=Null|Undefined (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymo us", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribu te; 243 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymo us", ReflectInvalid="anonymous"] readonly attribute DOMString corsSettingAttribu te;
244 [Reflect, ReflectOnly=("empty","missing","invalid","a-normal"), ReflectEmpty ="empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute DOMString limitedWithEmptyMissingInvalidAttribute; 244 [Reflect, ReflectOnly=("empty","missing","invalid","a-normal"), ReflectEmpty ="empty", ReflectMissing="missing", ReflectInvalid="invalid"] readonly attribute DOMString limitedWithEmptyMissingInvalidAttribute;
245 245
246 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute; 246 [Replaceable] readonly attribute long replaceableReadonlyLongAttribute;
247 [PutForwards=href] readonly attribute TestNode locationPutForwards; 247 [PutForwards=href] readonly attribute TestNode locationPutForwards;
248 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; 248 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute;
249 [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString setterCallWi thActiveWindowAndFirstWindowStringAttribute; 249 [SetterCallWith=(ActiveWindow,FirstWindow)] attribute DOMString setterCallWi thActiveWindowAndFirstWindowStringAttribute;
250 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute; 250 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute;
251 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt tribute; 251 [TreatNullAs=EmptyString] attribute DOMString treatNullAsEmptyStringStringAt tribute;
252 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute; 252 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute;
253 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute;
254 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute;
255 [TreatReturnedNullStringAs=Undefined, CachedAttribute=isStringDirty] attribu te DOMString cachedTreatReturnedNullStringAsUndefinedStringAttribute;
256 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin gAsNullByteStringAttribute;
257 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull StringAsUndefinedByteStringAttribute;
258 [TreatReturnedNullStringAs=Null] attribute USVString treatReturnedNullString AsNullUSVStringAttribute;
259 [TreatReturnedNullStringAs=Undefined] attribute USVString treatReturnedNullS tringAsUndefinedUSVStringAttribute;
260 [LegacyInterfaceTypeChecking] attribute float legacyInterfaceTypeCheckingFlo atAttribute; // nop for non-interface types 253 [LegacyInterfaceTypeChecking] attribute float legacyInterfaceTypeCheckingFlo atAttribute; // nop for non-interface types
261 [LegacyInterfaceTypeChecking] attribute TestInterface legacyInterfaceTypeChe ckingTestInterfaceAttribute; 254 [LegacyInterfaceTypeChecking] attribute TestInterface legacyInterfaceTypeChe ckingTestInterfaceAttribute;
262 [LegacyInterfaceTypeChecking] attribute TestInterface? legacyInterfaceTypeCh eckingTestInterfaceOrNullAttribute; 255 [LegacyInterfaceTypeChecking] attribute TestInterface? legacyInterfaceTypeCh eckingTestInterfaceOrNullAttribute;
263 [Reflect, URL] attribute DOMString urlStringAttribute; 256 [Reflect, URL] attribute DOMString urlStringAttribute;
264 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; 257 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute;
265 [Unforgeable] attribute long unforgeableLongAttribute; 258 [Unforgeable] attribute long unforgeableLongAttribute;
266 [Measure] attribute long measuredLongAttribute; 259 [Measure] attribute long measuredLongAttribute;
267 [SameObject] attribute TestInterface sameObjectAttribute; 260 [SameObject] attribute TestInterface sameObjectAttribute;
268 [Unscopeable] attribute long unscopeableLongAttribute; 261 [Unscopeable] attribute long unscopeableLongAttribute;
269 [Unscopeable, OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureName] at tribute long unscopeableExperimentEnabledLongAttribute; 262 [Unscopeable, OriginTrialEnabled=FeatureName, RuntimeEnabled=FeatureName] at tribute long unscopeableExperimentEnabledLongAttribute;
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 [RaisesException] XPathNSResolver raisesExceptionXPathNSResolverVoidMethod() ; 564 [RaisesException] XPathNSResolver raisesExceptionXPathNSResolverVoidMethod() ;
572 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa isesExceptionVoidMethodLongArg(long longArg); 565 [CallWith=ExecutionContext, RaisesException] void callWithExecutionContextRa isesExceptionVoidMethodLongArg(long longArg);
573 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod(); 566 [RuntimeEnabled=FeatureName] void runtimeEnabledVoidMethod();
574 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE nabledVoidMethod(); 567 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE nabledVoidMethod();
575 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri ng stringArg); 568 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri ng stringArg);
576 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo ngArg); 569 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo ngArg);
577 [RuntimeEnabled=FeatureName1] void partiallyRuntimeEnabledOverloadedVoidMeth od(DOMString stringArg); 570 [RuntimeEnabled=FeatureName1] void partiallyRuntimeEnabledOverloadedVoidMeth od(DOMString stringArg);
578 [RuntimeEnabled=FeatureName2] void partiallyRuntimeEnabledOverloadedVoidMeth od(TestInterface testInterfaceArg); 571 [RuntimeEnabled=FeatureName2] void partiallyRuntimeEnabledOverloadedVoidMeth od(TestInterface testInterfaceArg);
579 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg, DOMString str ingArg); 572 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg, DOMString str ingArg);
580 [RuntimeEnabled=FeatureName3] void partiallyRuntimeEnabledOverloadedVoidMeth od(long longArg, DOMString stringArg, TestInterface testInterfaceArg); 573 [RuntimeEnabled=FeatureName3] void partiallyRuntimeEnabledOverloadedVoidMeth od(long longArg, DOMString stringArg, TestInterface testInterfaceArg);
581 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod();
582 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod();
583 [TreatReturnedNullStringAs=Null] ByteString treatReturnedNullStringAsNullByt eStringMethod();
584 [TreatReturnedNullStringAs=Undefined] ByteString treatReturnedNullStringAsUn definedByteStringMethod();
585 [TreatReturnedNullStringAs=Null] USVString treatReturnedNullStringAsNullUSVS tringMethod();
586 [TreatReturnedNullStringAs=Undefined] USVString treatReturnedNullStringAsUnd efinedUSVStringMethod();
587 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingVoidMethodTest InterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyArg); 574 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingVoidMethodTest InterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyArg);
588 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingVoidMethodTest InterfaceEmptyVariadicArg(TestInterfaceEmpty... testInterfaceEmptyArg); 575 [LegacyInterfaceTypeChecking] void legacyInterfaceTypeCheckingVoidMethodTest InterfaceEmptyVariadicArg(TestInterfaceEmpty... testInterfaceEmptyArg);
589 // Avoid redundant type checking 576 // Avoid redundant type checking
590 void useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg(Node node1, option al Node node2); 577 void useToImpl4ArgumentsCheckingIfPossibleWithOptionalArg(Node node1, option al Node node2);
591 void useToImpl4ArgumentsCheckingIfPossibleWithNullableArg(Node node1, Node? node2); 578 void useToImpl4ArgumentsCheckingIfPossibleWithNullableArg(Node node1, Node? node2);
592 void useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArg(Node node1, [Defa ult=Undefined] optional Node node2); 579 void useToImpl4ArgumentsCheckingIfPossibleWithUndefinedArg(Node node1, [Defa ult=Undefined] optional Node node2);
593 [Unforgeable] void unforgeableVoidMethod(); 580 [Unforgeable] void unforgeableVoidMethod();
594 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); 581 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg);
595 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol lected[] testInterfaceGarbageCollectedArrayArg); 582 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol lected[] testInterfaceGarbageCollectedArrayArg);
596 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); 583 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg);
(...skipping 22 matching lines...) Expand all
619 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 606 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
620 [ImplementedInPrivateScript] attribute Node nodeAttribute; 607 [ImplementedInPrivateScript] attribute Node nodeAttribute;
621 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 608 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
622 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 609 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
623 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 610 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
624 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 611 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
625 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 612 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
626 613
627 maplike<long, DOMStringOrDouble>; 614 maplike<long, DOMStringOrDouble>;
628 }; 615 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698