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

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

Issue 344693002: Add [TreatReturnedNullStringAs] support for ScalarValueString (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/bindings/scripts/v8_types.py ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute; 234 [RuntimeEnabled=FeatureName] attribute long runtimeEnabledLongAttribute;
235 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute; 235 [PerContextEnabled=FeatureName, RuntimeEnabled=FeatureName] attribute long p erContextEnabledRuntimeEnabledLongAttribute;
236 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute; 236 [Conditional=CONDITION, RuntimeEnabled=FeatureName] attribute long condition alRuntimeEnabledLongAttribute;
237 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith ActiveWindowAndFirstWindowStringAttribute; 237 [SetterCallWith=ActiveWindow&FirstWindow] attribute DOMString setterCallWith ActiveWindowAndFirstWindowStringAttribute;
238 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute; 238 [SetterCallWith=ExecutionContext] attribute DOMString setterCallWithExecutio nContextStringAttribute;
239 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute; 239 [TreatNullAs=NullString] attribute DOMString treatNullAsNullStringStringAttr ibute;
240 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute; 240 [TreatReturnedNullStringAs=Null] attribute DOMString treatReturnedNullString AsNullStringAttribute;
241 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute; 241 [TreatReturnedNullStringAs=Undefined] attribute DOMString treatReturnedNullS tringAsUndefinedStringAttribute;
242 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin gAsNullByteStringAttribute; 242 [TreatReturnedNullStringAs=Null] attribute ByteString treatReturnedNullStrin gAsNullByteStringAttribute;
243 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull StringAsUndefinedByteStringAttribute; 243 [TreatReturnedNullStringAs=Undefined] attribute ByteString treatReturnedNull StringAsUndefinedByteStringAttribute;
244 [TreatReturnedNullStringAs=Null] attribute ScalarValueString treatReturnedNu llStringAsNullScalarValueStringAttribute;
245 [TreatReturnedNullStringAs=Undefined] attribute ScalarValueString treatRetur nedNullStringAsUndefinedScalarValueStringAttribute;
244 [TypeChecking=Interface|Nullable] attribute float typeCheckingInterfaceNulla bleStringFloatAttribute; // nop for non-interface types 246 [TypeChecking=Interface|Nullable] attribute float typeCheckingInterfaceNulla bleStringFloatAttribute; // nop for non-interface types
245 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn terfaceAttribute; 247 [TypeChecking=Interface] attribute TestInterface typeCheckingInterfaceTestIn terfaceAttribute;
246 [TypeChecking=Nullable] attribute TestInterface? typeCheckingNullableTestInt erfaceOrNullAttribute; 248 [TypeChecking=Nullable] attribute TestInterface? typeCheckingNullableTestInt erfaceOrNullAttribute;
247 [TypeChecking=Interface|Nullable] attribute TestInterface? typeCheckingInter faceNullableTestInterfaceOrNullAttribute; 249 [TypeChecking=Interface|Nullable] attribute TestInterface? typeCheckingInter faceNullableTestInterfaceOrNullAttribute;
248 [Reflect, URL] attribute DOMString urlStringAttribute; 250 [Reflect, URL] attribute DOMString urlStringAttribute;
249 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute; 251 [Reflect=reflectUrlAttribute, URL] attribute DOMString urlStringAttribute;
250 [Unforgeable] attribute long unforgeableLongAttribute; 252 [Unforgeable] attribute long unforgeableLongAttribute;
251 [LogActivity=SetterOnly, LogPreviousValue] attribute long activityLoggingSet terOnlyLogPreviousValueAttribute; 253 [LogActivity=SetterOnly, LogPreviousValue] attribute long activityLoggingSet terOnlyLogPreviousValueAttribute;
252 [LogActivity, LogPreviousValue] attribute TestInterfaceEmpty activityLogging LogPreviousValueInterfaceAttribute; 254 [LogActivity, LogPreviousValue] attribute TestInterfaceEmpty activityLogging LogPreviousValueInterfaceAttribute;
253 255
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE nabledVoidMethod(); 499 [PerWorldBindings, RuntimeEnabled=FeatureName] void perWorldBindingsRuntimeE nabledVoidMethod();
498 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri ng stringArg); 500 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(DOMStri ng stringArg);
499 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo ngArg); 501 [RuntimeEnabled=FeatureName] void runtimeEnabledOverloadedVoidMethod(long lo ngArg);
500 [RuntimeEnabled=FeatureName1] void partiallyRuntimeEnabledOverloadedVoidMeth od(DOMString stringArg); 502 [RuntimeEnabled=FeatureName1] void partiallyRuntimeEnabledOverloadedVoidMeth od(DOMString stringArg);
501 [RuntimeEnabled=FeatureName2] void partiallyRuntimeEnabledOverloadedVoidMeth od(TestInterface testInterface); 503 [RuntimeEnabled=FeatureName2] void partiallyRuntimeEnabledOverloadedVoidMeth od(TestInterface testInterface);
502 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg); 504 void partiallyRuntimeEnabledOverloadedVoidMethod(long longArg);
503 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod(); 505 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri ngMethod();
504 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod(); 506 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd efinedStringMethod();
505 [TreatReturnedNullStringAs=Null] ByteString treatReturnedNullStringAsNullByt eStringMethod(); 507 [TreatReturnedNullStringAs=Null] ByteString treatReturnedNullStringAsNullByt eStringMethod();
506 [TreatReturnedNullStringAs=Undefined] ByteString treatReturnedNullStringAsUn definedByteStringMethod(); 508 [TreatReturnedNullStringAs=Undefined] ByteString treatReturnedNullStringAsUn definedByteStringMethod();
509 [TreatReturnedNullStringAs=Null] ScalarValueString treatReturnedNullStringAs NullScalarValueStringMethod();
510 [TreatReturnedNullStringAs=Undefined] ScalarValueString treatReturnedNullStr ingAsUndefinedScalarValueStringMethod();
507 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm ptyArg(TestInterfaceEmpty testInterfaceEmptyArg); 511 [TypeChecking=Interface] void typeCheckingInterfaceVoidMethodTestInterfaceEm ptyArg(TestInterfaceEmpty testInterfaceEmptyArg);
508 [TypeChecking=Nullable] void typeCheckingNullableVoidMethodTestInterfaceEmpt yOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); 512 [TypeChecking=Nullable] void typeCheckingNullableVoidMethodTestInterfaceEmpt yOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg);
509 [TypeChecking=Interface|Nullable] void typeCheckingInterfaceNullableVoidMeth odTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg); 513 [TypeChecking=Interface|Nullable] void typeCheckingInterfaceNullableVoidMeth odTestInterfaceEmptyOrNullArg(TestInterfaceEmpty? testInterfaceEmptyOrNullArg);
510 [TypeChecking=Unrestricted] void typeCheckingUnrestrictedVoidMethodFloatArgD oubleArg(float floatArg, double doubleArg); 514 [TypeChecking=Unrestricted] void typeCheckingUnrestrictedVoidMethodFloatArgD oubleArg(float floatArg, double doubleArg);
511 [Unforgeable] void unforgeableVoidMethod(); 515 [Unforgeable] void unforgeableVoidMethod();
512 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg); 516 void voidMethodTestInterfaceGarbageCollectedSequenceArg(sequence<TestInterfa ceGarbageCollected> testInterfaceGarbageCollectedSequenceArg);
513 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol lected[] testInterfaceGarbageCollectedArrayArg); 517 void voidMethodTestInterfaceGarbageCollectedArrayArg(TestInterfaceGarbageCol lected[] testInterfaceGarbageCollectedArrayArg);
514 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); 518 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg);
515 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 519 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
516 520
517 // Extended attributes on referenced interfaces 521 // Extended attributes on referenced interfaces
518 // (not self; self-reference tests at interface themselves) 522 // (not self; self-reference tests at interface themselves)
519 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 523 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
520 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] 524 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected]
521 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] 525 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected]
522 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 526 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
523 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 527 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
524 }; 528 };
OLDNEW
« no previous file with comments | « Source/bindings/scripts/v8_types.py ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698