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

Unified Diff: Source/bindings/tests/idls/TestInterfacePython.idl

Issue 217053007: Revert of Make DOMWrapperWorld::current() return a reference instead of a pointer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert 213543004 too Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: Source/bindings/tests/idls/TestInterfacePython.idl
diff --git a/Source/bindings/tests/idls/TestInterface.idl b/Source/bindings/tests/idls/TestInterfacePython.idl
similarity index 69%
copy from Source/bindings/tests/idls/TestInterface.idl
copy to Source/bindings/tests/idls/TestInterfacePython.idl
index 4561bdb1e7c6c47ef6bba01a973c9d9d34a38ed8..a19a7fd1129d34069a32c6820c30cd56eb19253b 100644
--- a/Source/bindings/tests/idls/TestInterface.idl
+++ b/Source/bindings/tests/idls/TestInterfacePython.idl
@@ -28,44 +28,26 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// Test for interface extended attributes and special operations.
-// Also used as a target by TestObject
-
[
ActiveDOMObject,
Conditional=CONDITION,
Custom=LegacyCallAsFunction|ToV8,
- DoNotCheckConstants,
- ImplementedAs=TestInterfaceImplementation,
+ ImplementedAs=TestInterfacePythonImplementation,
RuntimeEnabled=FeatureName,
- SetWrapperReferenceTo(TestInterface referencedName),
+ SetWrapperReferenceTo(TestInterfacePython referencedName),
StrictTypeChecking,
-] interface TestInterface : TestInterfaceEmpty {
+] interface TestInterfacePython : TestInterfaceEmpty {
// members needed to test [ImplementedAs], as this affect attribute
// configuration and method configuration, and [StrictTypeChecking]
- // constants also needed for [DoNotCheckConstants]
const unsigned long UNSIGNED_LONG = 0;
- [Reflect=CONST_CPP] const short CONST_JAVASCRIPT = 1;
-
- attribute TestInterface testInterfaceAttribute; // Self-referential interface type with [ImplementedAs]
+ attribute TestInterfacePython testInterfacePythonAttribute; // Self-referential interface type with [ImplementedAs]
attribute TestImplementedAsConstructor testImplementedAsConstructorAttribute;
static attribute DOMString staticStringAttribute;
-
void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyArg);
[PerWorldBindings] attribute DOMString perWorldBindingsStringAttribute;
[PerWorldBindings] void voidMethod();
-
- // Anonymous indexed property operations
- getter DOMString (unsigned long index);
- setter DOMString (unsigned long index, DOMString value);
- deleter boolean (unsigned long index);
-
- // Anonymous named property operations
- getter DOMString (DOMString name);
- setter DOMString (DOMString name, DOMString value);
- deleter boolean (DOMString name);
};
-TestInterface implements TestImplements;
-TestInterface implements TestImplements2;
-TestInterface implements TestImplements3;
+TestInterfacePython implements TestImplements;
+TestInterfacePython implements TestImplements2;
+TestInterfacePython implements TestImplements3;
« no previous file with comments | « Source/bindings/tests/idls/TestInterfaceDoNotCheckConstants.idl ('k') | Source/bindings/tests/idls/TestInterfacePython2.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698