Index: bindings/tests/idls/TestInterface3.idl |
diff --git a/modules/notifications/WebKitNotification.idl b/bindings/tests/idls/TestInterface3.idl |
similarity index 67% |
copy from modules/notifications/WebKitNotification.idl |
copy to bindings/tests/idls/TestInterface3.idl |
index ae2acef3886a0f48e2ef1977b0e27888cbc84bbd..6b90bdac6770b6b13d0db0b9b52bb60312810ddc 100644 |
--- a/modules/notifications/WebKitNotification.idl |
+++ b/bindings/tests/idls/TestInterface3.idl |
@@ -28,21 +28,19 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-[ |
- WillBeGarbageCollected, |
- ActiveDOMObject, |
- Conditional=LEGACY_NOTIFICATIONS, |
- NoInterfaceObject, |
- RuntimeEnabled=Notifications, |
-] interface WebKitNotification : EventTarget { |
- void show(); |
- void cancel(); |
+// This is for interface extended attributes that interact with another extended |
+// 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. |
- attribute EventHandler ondisplay; |
- attribute EventHandler onerror; |
- attribute EventHandler onclose; |
- attribute EventHandler onclick; |
+[ |
+ 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); |
- attribute DOMString dir; |
- attribute DOMString replaceId; |
+ [Custom=PropertyGetter|PropertyEnumerator|PropertyQuery] getter Node (DOMString name); |
+ [Custom] setter Node (DOMString name, Node value); |
+ [Custom] deleter boolean (DOMString name); |
}; |