@@ -97,16 +97,40 @@ WindowLocalStorage.prototype.localStorage;
9797 */
9898Window . prototype . localStorage ;
9999
100+ /**
101+ * @record
102+ * @extends {EventInit }
103+ * @see https://html.spec.whatwg.org/multipage/webstorage.html#dictdef-storageeventinit
104+ */
105+ function StorageEventInit ( ) { }
106+
107+ /** @type {(?string|undefined) } */
108+ StorageEventInit . prototype . key ;
109+
110+ /** @type {(?string|undefined) } */
111+ StorageEventInit . prototype . oldValue ;
112+
113+ /** @type {(?string|undefined) } */
114+ StorageEventInit . prototype . newValue ;
115+
116+ /** @type {(string|undefined) } */
117+ StorageEventInit . prototype . url ;
118+
119+ /** @type {(?Storage|undefined) } */
120+ StorageEventInit . prototype . storageArea ;
121+
100122/**
101123 * This is the storage event interface.
102- * @see http ://www.w3. org/TR/2011/CR- webstorage-20111208/ #the-storage-event
124+ * @see https ://html.spec.whatwg. org/multipage/ webstorage.html #the-storageevent-interface
103125 * @extends {Event }
104126 * @constructor
127+ * @param {string } type
128+ * @param {StorageEventInit= } opt_eventInitDict
105129 */
106- function StorageEvent ( ) { }
130+ function StorageEvent ( type , opt_eventInitDict ) { }
107131
108132/**
109- * @type {string }
133+ * @type {? string }
110134 */
111135StorageEvent . prototype . key ;
112136
@@ -132,17 +156,16 @@ StorageEvent.prototype.storageArea;
132156
133157/**
134158 * @param {string } typeArg
135- * @param {boolean } canBubbleArg
136- * @param {boolean } cancelableArg
137- * @param {string } keyArg
138- * @param {?string } oldValueArg
139- * @param {?string } newValueArg
140- * @param {string } urlArg
141- * @param {?Storage } storageAreaArg
159+ * @param {boolean= } canBubbleArg
160+ * @param {boolean= } cancelableArg
161+ * @param {? string= } keyArg
162+ * @param {?string= } oldValueArg
163+ * @param {?string= } newValueArg
164+ * @param {string= } urlArg
165+ * @param {?Storage= } storageAreaArg
142166 * @return {void }
143167 */
144168StorageEvent . prototype . initStorageEvent = function ( typeArg , canBubbleArg ,
145169 cancelableArg , keyArg ,
146170 oldValueArg , newValueArg ,
147171 urlArg , storageAreaArg ) { } ;
148-
0 commit comments