Migrate to IDL mixin syntax

This commit is contained in:
Kagami Sascha Rosylight 2019-10-01 18:45:26 +09:00
parent 1b6715158d
commit d6c58b8226
46 changed files with 187 additions and 204 deletions

View file

@ -69,8 +69,8 @@
// also has obsolete members
};
Window implements GlobalEventHandlers;
Window implements WindowEventHandlers;
Window includes GlobalEventHandlers;
Window includes WindowEventHandlers;
// https://html.spec.whatwg.org/multipage/#Window-partial
partial interface Window {
@ -148,18 +148,16 @@ partial interface Window {
};
// https://html.spec.whatwg.org/multipage/#dom-sessionstorage
[NoInterfaceObject]
interface WindowSessionStorage {
interface mixin WindowSessionStorage {
readonly attribute Storage sessionStorage;
};
Window implements WindowSessionStorage;
Window includes WindowSessionStorage;
// https://html.spec.whatwg.org/multipage/#dom-localstorage
[NoInterfaceObject]
interface WindowLocalStorage {
interface mixin WindowLocalStorage {
readonly attribute Storage localStorage;
};
Window implements WindowLocalStorage;
Window includes WindowLocalStorage;
// http://w3c.github.io/animation-timing/#framerequestcallback
callback FrameRequestCallback = void (DOMHighResTimeStamp time);