| Index: bindings/tests/idls/TestPartialInterface2.idl
|
| diff --git a/modules/quota/StorageQuota.idl b/bindings/tests/idls/TestPartialInterface2.idl
|
| similarity index 77%
|
| copy from modules/quota/StorageQuota.idl
|
| copy to bindings/tests/idls/TestPartialInterface2.idl
|
| index 20c0cbc5e7178a824aac8f93463ed7669bc18c4c..43abced13b972d6cb37c3a1cea17601aca0850c4 100644
|
| --- a/modules/quota/StorageQuota.idl
|
| +++ b/bindings/tests/idls/TestPartialInterface2.idl
|
| @@ -28,17 +28,15 @@
|
| * 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);
|
| + ImplementedAs=TestPartialInterfaceImplementation, // Conflicts with default partial interface class name
|
| + PerContextEnabled=PartialContextName, // Conflicts with [RuntimeEnabled]
|
| +] partial interface TestInterface {
|
| + const unsigned short PARTIAL2_UNSIGNED_SHORT = 0;
|
| +
|
| + attribute long partial2LongAttribute;
|
| + static attribute long partial2StaticLongAttribute;
|
| +
|
| + void partial2VoidMethod();
|
| + static void partial2StaticVoidMethod();
|
| };
|
|
|