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

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

Issue 213543004: Consolidate IDL test cases (15%: 34 => 29) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload 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/TestInterface3.idl
diff --git a/Source/bindings/tests/idls/TestInterfacePython2.idl b/Source/bindings/tests/idls/TestInterface3.idl
similarity index 73%
rename from Source/bindings/tests/idls/TestInterfacePython2.idl
rename to Source/bindings/tests/idls/TestInterface3.idl
index 92b7eccbe919bb8bfbbb19f052c0e1bc70652cdf..6b90bdac6770b6b13d0db0b9b52bb60312810ddc 100644
--- a/Source/bindings/tests/idls/TestInterfacePython2.idl
+++ b/Source/bindings/tests/idls/TestInterface3.idl
@@ -29,14 +29,18 @@
*/
// This is for interface extended attributes that interact with another extended
-// attribute, and thus both cannot be tested at once.
+// attribute, and thus both cannot be tested at once; and for special
+// operations, which need a separate interface to test on.
// The more *minor* extended attribute should be put in this file.
[
- Constructor, // Test interaction with [Custom=Wrap]
- Custom=Wrap, // Conflicts with and [Custom=ToV8], respectively
- DependentLifetime, // Covered by [ActiveDOMObject]
- SetWrapperReferenceFrom=ownerNode, // Conflicts with [SetWrapperReferenceTo]
- SpecialWrapFor=Interface1|Interface2, // Conflicts with [Custom=ToV8]
-] interface TestInterfacePython2 {
+ Custom=VisitDOMWrapper, // Conflict with [SetWrapperReferenceTo] and [SetWrapperReferenceFrom]
+] interface TestInterface3 {
+ [Custom] getter boolean (unsigned long index);
+ [Custom] setter boolean (unsigned long index, Node value);
+ [Custom] deleter boolean (unsigned long index);
+
+ [Custom=PropertyGetter|PropertyEnumerator|PropertyQuery] getter Node (DOMString name);
+ [Custom] setter Node (DOMString name, Node value);
+ [Custom] deleter boolean (DOMString name);
};
« no previous file with comments | « Source/bindings/tests/idls/TestInterface2.idl ('k') | Source/bindings/tests/idls/TestInterfaceDoNotCheckConstants.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698