Partial fix for 12415

This commit is contained in:
Scott Trinh 2016-10-17 14:26:34 -04:00
parent 887507b6f8
commit ab0ddf9040
51 changed files with 35 additions and 115 deletions

View file

@ -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;
};