Auto merge of #21922 - Eijebong:storage, r=SimonSapin

Add support for StorageEvent.initstorageevent()

Fixes #21874

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21922)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-10-12 14:16:07 -04:00 committed by GitHub
commit fa94fc7146
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 29 deletions

View file

@ -16,6 +16,12 @@ interface StorageEvent : Event {
readonly attribute DOMString? newValue;
readonly attribute DOMString url;
readonly attribute Storage? storageArea;
void initStorageEvent(DOMString type, optional boolean bubbles = false,
optional boolean cancelable = false, optional DOMString? key = null, optional
DOMString? oldValue = null, optional DOMString? newValue = null, optional
USVString url = "", optional Storage? storageArea = null);
};
dictionary StorageEventInit : EventInit {