mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Migrate to IDL mixin syntax
This commit is contained in:
parent
1b6715158d
commit
d6c58b8226
46 changed files with 187 additions and 204 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue