Index: bindings/tests/idls/TestInterfaceWillBeGarbageCollected.idl |
diff --git a/modules/quota/StorageInfo.idl b/bindings/tests/idls/TestInterfaceWillBeGarbageCollected.idl |
similarity index 83% |
copy from modules/quota/StorageInfo.idl |
copy to bindings/tests/idls/TestInterfaceWillBeGarbageCollected.idl |
index feec250125d91f90a9c268b29972c24ba68e903c..be955b036e9a15db6af2329cc3ba4a15dc9f73ed 100644 |
--- a/modules/quota/StorageInfo.idl |
+++ b/bindings/tests/idls/TestInterfaceWillBeGarbageCollected.idl |
@@ -29,10 +29,10 @@ |
*/ |
[ |
+ Constructor(DOMString str), |
+ NamedConstructor=TestInterface(DOMString str), |
WillBeGarbageCollected, |
- NoInterfaceObject, |
- RuntimeEnabled=QuotaPromise |
-] interface StorageInfo { |
- readonly attribute unsigned long long usage; |
- readonly attribute unsigned long long quota; |
+] interface TestInterfaceWillBeGarbageCollected : EventTarget { // Inherit from EventTarget to test order of internal fields |
+ attribute TestInterfaceWillBeGarbageCollected attr1; |
+ void func(TestInterfaceWillBeGarbageCollected arg); |
}; |