Skip to content

Commit

Permalink
Use new IDL mixin syntax in storage/
Browse files Browse the repository at this point in the history
This helps with whatwg/storage#53.
  • Loading branch information
romandev authored and annevk committed Dec 18, 2017
1 parent 95cea0b commit 4005fa6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions storage/interfaces.idl
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down

0 comments on commit 4005fa6

Please sign in to comment.