8000 Use interface mixins instead of [NoInterfaceObject] · jagarinart/storage@37030a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 37030a2

Browse files
romandevannevk
authored andcommitted
Use interface mixins instead of [NoInterfaceObject]
Turn NavigatorStorage into an interface mixin. Tests: web-platform-tests/wpt#8702. Fixes whatwg#53.
1 parent a3ebecf commit 37030a2

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

storage.bs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,12 @@ user agent should alert the user and offer a way to clear <a>persistent buckets<
221221
<h2 id=api>API</h2>
222222

223223
<pre class=idl>
224-
[SecureContext,
225-
NoInterfaceObject,
226-
Exposed=(Window,Worker)]
227-
interface NavigatorStorage {
224+
[SecureContext]
225+
interface mixin NavigatorStorage {
228226
readonly attribute StorageManager storage;
229227
};
230-
Navigator implements NavigatorStorage;
231-
WorkerNavigator implements NavigatorStorage;
228+
Navigator includes NavigatorStorage;
229+
WorkerNavigator includes NavigatorStorage;
232230
</pre>
233231

234232
Each <a>environment settings object</a> has an associated {{StorageManager}} object.
@@ -380,6 +378,7 @@ David Grogan,
380378
fantasai,
381379
Jake Archibald<!-- technically B.J. Archibald -->,
382380
Jeffrey Yasskin,
381+
Jinho Bang,
383382
Jonas Sicking,
384383
Joshua Bell,
385384
Kenji Baheux,

0 commit comments

Comments
 (0)
0