mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Partial fix for 12415
This commit is contained in:
parent
887507b6f8
commit
ab0ddf9040
51 changed files with 35 additions and 115 deletions
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#window
|
||||
[PrimaryGlobal, Exposed=(Window,Worker)]
|
||||
[PrimaryGlobal]
|
||||
/*sealed*/ interface Window : GlobalScope {
|
||||
// the current browsing context
|
||||
[Unforgeable] readonly attribute WindowProxy window;
|
||||
|
@ -62,7 +62,7 @@
|
|||
Window implements GlobalEventHandlers;
|
||||
Window implements WindowEventHandlers;
|
||||
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
[NoInterfaceObject]
|
||||
interface WindowProxy {};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#timers
|
||||
|
@ -170,14 +170,14 @@ partial interface Window {
|
|||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-sessionstorage
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
[NoInterfaceObject]
|
||||
interface WindowSessionStorage {
|
||||
readonly attribute Storage sessionStorage;
|
||||
};
|
||||
Window implements WindowSessionStorage;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-localstorage
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
[NoInterfaceObject]
|
||||
interface WindowLocalStorage {
|
||||
readonly attribute Storage localStorage;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue