Index: Source/bindings/tests/idls/TestPartialInterfacePython.idl |
diff --git a/Source/bindings/tests/idls/TestPartialInterface.idl b/Source/bindings/tests/idls/TestPartialInterfacePython.idl |
similarity index 88% |
copy from Source/bindings/tests/idls/TestPartialInterface.idl |
copy to Source/bindings/tests/idls/TestPartialInterfacePython.idl |
index c8b0ddcefe0c3b635ba1b779e2c553c0cb4d96f1..823eecd265b16647abb9529a9ab6f820f9396567 100644 |
--- a/Source/bindings/tests/idls/TestPartialInterface.idl |
+++ b/Source/bindings/tests/idls/TestPartialInterfacePython.idl |
@@ -33,13 +33,14 @@ enum PartialEnumType { |
"bar" |
}; |
-typedef DOMString PartialString; |
+typedef DOMString String; |
+ |
+callback PartialCallbackType = void (String value); |
-callback PartialCallbackType = void (PartialString value); |
[ |
Conditional=PARTIAL_CONDITION, |
RuntimeEnabled=PartialFeatureName, |
-] partial interface TestInterface { |
+] partial interface TestInterfacePython { |
const unsigned short PARTIAL_UNSIGNED_SHORT = 0; |
attribute long partialLongAttribute; |
@@ -51,6 +52,6 @@ callback PartialCallbackType = void (PartialString value); |
void partialVoidMethodLongArg(long longArg); |
[CallWith=ExecutionContext, RaisesException] void partialCallWithExecutionContextRaisesExceptionVoidMethod(); |
- attribute PartialEnumType partialPartialEnumTypeAttribute; |
- void partialVoidMethodPartialCallbackTypeArg(PartialCallbackType partialCallbackTypeArg); |
+ attribute PartialEnumType enumAttribute; |
+ void methodThatTakesCallback(PartialCallbackType callback); |
}; |