Only expose Storage/StorageEvent in Window

This commit is contained in:
Javier Rueda 2017-02-09 15:28:12 +01:00
parent f7e75fd001
commit 1aeca9c255
7 changed files with 10 additions and 13 deletions

View file

@ -9,7 +9,7 @@
* Event sent to a window when a storage area changes.
*/
[Constructor(DOMString type, optional StorageEventInit eventInitDict), Exposed=(Window,Worker)]
[Constructor(DOMString type, optional StorageEventInit eventInitDict), Exposed=Window]
interface StorageEvent : Event {
readonly attribute DOMString? key;
readonly attribute DOMString? oldValue;