From b6dab729ffc0931a6685297d38e9b1d23e324609 Mon Sep 17 00:00:00 2001 From: Jinho Bang Date: Fri, 15 Dec 2017 23:01:43 +0900 Subject: [PATCH] Introduce the new WebIDL `mixin` syntax in storage/ This fixes https://github.com/whatwg/storage/issues/53 issue. --- storage/interfaces.idl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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)]