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

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

Issue 236783002: Pass NewScriptState to idbAnyToScriptValue() and idbKeyToScriptValue() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 static attribute long staticLongAttribute; 141 static attribute long staticLongAttribute;
142 // Exceptional type 142 // Exceptional type
143 attribute EventHandler eventHandlerAttribute; 143 attribute EventHandler eventHandlerAttribute;
144 144
145 // Extended attributes 145 // Extended attributes
146 [ActivityLogging=ForAllWorlds] attribute long activityLoggingAccessForAllWor ldsLongAttribute; 146 [ActivityLogging=ForAllWorlds] attribute long activityLoggingAccessForAllWor ldsLongAttribute;
147 [ActivityLogging=GetterForAllWorlds] attribute long activityLoggingGetterFor AllWorldsLongAttribute; 147 [ActivityLogging=GetterForAllWorlds] attribute long activityLoggingGetterFor AllWorldsLongAttribute;
148 [ActivityLogging=SetterForAllWorlds] attribute long activityLoggingSetterFor AllWorldsLongAttribute; 148 [ActivityLogging=SetterForAllWorlds] attribute long activityLoggingSetterFor AllWorldsLongAttribute;
149 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute; 149 [CachedAttribute=isValueDirty] attribute any cachedAttributeAnyAttribute;
150 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te; 150 [CallWith=ExecutionContext] attribute any callWithExecutionContextAnyAttribu te;
151 [CallWith=NewScriptState] attribute any callWithNewScriptStateAnyAttribute;
152 [CallWith=ExecutionContext|NewScriptState] attribute any callWithExecutionCo ntextAndNewScriptStateAnyAttribute;
151 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl yDocumentAttribute; // All uses are read only 153 [CheckSecurity=Node] readonly attribute Document checkSecurityForNodeReadonl yDocumentAttribute; // All uses are read only
152 [Conditional=CONDITION] attribute long conditionalLongAttribute; 154 [Conditional=CONDITION] attribute long conditionalLongAttribute;
153 [Conditional=CONDITION_1&CONDITION_2] attribute long conditionalAndLongAttri bute; 155 [Conditional=CONDITION_1&CONDITION_2] attribute long conditionalAndLongAttri bute;
154 [Conditional=CONDITION_1|CONDITION_2] attribute long conditionalOrLongAttrib ute; 156 [Conditional=CONDITION_1|CONDITION_2] attribute long conditionalOrLongAttrib ute;
155 // Constructors: FIXME: replace suffix with [ConstructorAttribute] 157 // Constructors: FIXME: replace suffix with [ConstructorAttribute]
156 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu te; 158 attribute TestInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribu te;
157 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute; 159 [DeprecateAs=deprecatedTestInterfaceEmptyConstructorAttribute] attribute Tes tInterfaceEmptyConstructor testInterfaceEmptyConstructorAttribute;
158 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea tureNameTestInterfaceEmptyConstructorAttribute; 160 [MeasureAs=FeatureName] attribute TestInterfaceEmptyConstructor measureAsFea tureNameTestInterfaceEmptyConstructorAttribute;
159 [Custom] attribute object customObjectAttribute; 161 [Custom] attribute object customObjectAttribute;
160 [Custom=Getter] attribute long customGetterLongAttribute; 162 [Custom=Getter] attribute long customGetterLongAttribute;
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 468 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
467 469
468 // Extended attributes on referenced interfaces 470 // Extended attributes on referenced interfaces
469 // (not self; self-reference tests at interface themselves) 471 // (not self; self-reference tests at interface themselves)
470 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 472 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
471 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] 473 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected]
472 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] 474 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected]
473 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 475 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
474 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 476 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
475 }; 477 };
OLDNEW
« no previous file with comments | « Source/bindings/templates/attributes.cpp ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698