Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1117)

Unified Diff: third_party/WebKit/Source/modules/storage/StorageEvent.idl

Issue 1498823002: Sync the Storage API with the spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/storage/StorageEvent.idl
diff --git a/third_party/WebKit/Source/modules/storage/StorageEvent.idl b/third_party/WebKit/Source/modules/storage/StorageEvent.idl
index fe635d90285c5b7d102fe34e1c47b6b6d31effe7..bcf9162802a2ddf459f86881c799d0b57b0d2694 100644
--- a/third_party/WebKit/Source/modules/storage/StorageEvent.idl
+++ b/third_party/WebKit/Source/modules/storage/StorageEvent.idl
@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// http://dev.w3.org/html5/webstorage/#the-storage-event
+// https://html.spec.whatwg.org/multipage/webstorage.html#the-storageevent-interface
[
Constructor(DOMString type, optional StorageEventInit eventInitDict),
@@ -34,6 +34,7 @@
readonly attribute DOMString url;
readonly attribute Storage? storageArea;
+ // Non-standard API
[Measure, LegacyInterfaceTypeChecking] void initStorageEvent([Default=Undefined] optional DOMString typeArg,
[Default=Undefined] optional boolean canBubbleArg,
[Default=Undefined] optional boolean cancelableArg,
@@ -42,7 +43,4 @@
[Default=Undefined] optional DOMString? newValueArg,
[Default=Undefined] optional DOMString urlArg,
[Default=Undefined] optional Storage storageAreaArg);
-
- // Needed once we support init<blank>EventNS
- // void initStorageEventNS(DOMString namespaceURI, DOMString typeArg, boolean canBubbleArg, boolean cancelableArg, DOMString keyArg, DOMString oldValueArg, DOMString newValueArg, DOMString urlArg, Storage storageAreaArg);
};
« no previous file with comments | « third_party/WebKit/Source/modules/storage/Storage.idl ('k') | third_party/WebKit/Source/modules/storage/StorageEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698