Skip to content

Commit

Permalink
Use interface mixins instead of [NoInterfaceObject]
Browse files Browse the repository at this point in the history
Turn NavigatorStorage into an interface mixin.

Tests: web-platform-tests/wpt#8702.

Fixes #53.
  • Loading branch information
romandev authored and annevk committed Dec 23, 2017
1 parent a3ebecf commit 37030a2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions storage.bs
Original file line number Diff line number Diff line change
Expand Up @@ -221,14 +221,12 @@ user agent should alert the user and offer a way to clear <a>persistent buckets<
<h2 id=api>API</h2>

<pre class=idl>
[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;
</pre>

Each <a>environment settings object</a> has an associated {{StorageManager}} object.
Expand Down Expand Up @@ -380,6 +378,7 @@ David Grogan,
fantasai,
Jake Archibald<!-- technically B.J. Archibald -->,
Jeffrey Yasskin,
Jinho Bang,
Jonas Sicking,
Joshua Bell,
Kenji Baheux,
Expand Down

0 comments on commit 37030a2

Please sign in to comment.