Index: bindings/tests/idls/TestImplements2.idl |
diff --git a/modules/quota/StorageQuota.idl b/bindings/tests/idls/TestImplements2.idl |
similarity index 77% |
copy from modules/quota/StorageQuota.idl |
copy to bindings/tests/idls/TestImplements2.idl |
index 20c0cbc5e7178a824aac8f93463ed7669bc18c4c..ce0e3576cc35222fcff2ca89933389d06d4aa825 100644 |
--- a/modules/quota/StorageQuota.idl |
+++ b/bindings/tests/idls/TestImplements2.idl |
@@ -28,17 +28,14 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-enum StorageType { |
- "temporary", |
- "persistent" |
-}; |
- |
[ |
- WillBeGarbageCollected, |
- NoInterfaceObject, |
- RuntimeEnabled=QuotaPromise |
-] interface StorageQuota { |
- readonly attribute StorageType[] supportedTypes; |
- [CallWith=ExecutionContext] Promise queryInfo(StorageType type); |
- [CallWith=ExecutionContext] Promise requestPersistentQuota([Clamp] unsigned long long newQuota); |
+ LegacyTreatAsPartialInterface, // Conflicts with default implements behavior |
+ NoInterfaceObject, // Always used on target of 'implements' |
+ RuntimeEnabled=Implements2FeatureName, // conflicts with [RuntimeEnabled] on member |
+] interface TestImplements2 { |
+ static attribute DOMString implements2StaticStringAttribute; |
+ attribute DOMString implements2StringAttribute; |
+ void implements2VoidMethod(); |
}; |
+ |
+TestInterface implements TestImplements2; |