diff --git a/storage/interfaces.idl b/storage/interfaces.idl index 4967404225ee15..c45690352f92c7 100644 --- a/storage/interfaces.idl +++ b/storage/interfaces.idl @@ -1,11 +1,9 @@ -[SecureContext, - NoInterfaceObject, - Exposed=(Window,Worker)] -interface NavigatorStorage { +[SecureContext] +interface mixin NavigatorStorage { readonly attribute StorageManager storage; }; -Navigator implements NavigatorStorage; -WorkerNavigator implements NavigatorStorage; +Navigator includes NavigatorStorage; +WorkerNavigator includes NavigatorStorage; [SecureContext, Exposed=(Window,Worker)]