| Index: bindings/tests/idls/TestInterfaceNode.idl
|
| diff --git a/modules/quota/StorageQuota.idl b/bindings/tests/idls/TestInterfaceNode.idl
|
| similarity index 68%
|
| copy from modules/quota/StorageQuota.idl
|
| copy to bindings/tests/idls/TestInterfaceNode.idl
|
| index 20c0cbc5e7178a824aac8f93463ed7669bc18c4c..25c62a5bf7702edaffece6ae47495dba5975bab9 100644
|
| --- a/modules/quota/StorageQuota.idl
|
| +++ b/bindings/tests/idls/TestInterfaceNode.idl
|
| @@ -28,17 +28,15 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -enum StorageType {
|
| - "temporary",
|
| - "persistent"
|
| -};
|
| +interface TestInterfaceNode : Node {
|
| + attribute DOMString stringAttribute;
|
| + readonly attribute TestInterfaceEmpty readonlyTestInterfaceEmptyAttribute;
|
| + attribute EventHandler eventHandlerAttribute;
|
| + [PerWorldBindings] readonly attribute TestInterfaceEmpty perWorldBindingsReadonlyTestInterfaceEmptyAttribute;
|
| + [Reflect] attribute DOMString reflectStringAttribute;
|
| + [Reflect, URL] attribute DOMString reflectUrlStringAttribute;
|
|
|
| -[
|
| - 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);
|
| + TestInterfaceEmpty testInterfaceEmptyMethod();
|
| + [PerWorldBindings] TestInterfaceEmpty perWorldBindingsTestInterfaceEmptyMethod();
|
| + [PerWorldBindings] TestInterfaceEmpty perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg(optional boolean optionalBooleanArgument);
|
| };
|
|
|