Permalink
Browse files

Bug 756066 - Make StorageEventInit.key nullable; r=mayhemer

  • Loading branch information...
1 parent 17fa12a commit 5a8819392b6b19a7bfa3b45617f9e6aecc861d88 @Ms2ger Ms2ger committed May 25, 2012
@@ -346,7 +346,7 @@
ok(!e.isTrusted, "Event shouldn't be trusted!");
ok(!e.bubbles, "Event shouldn't bubble!");
ok(!e.cancelable, "Event shouldn't be cancelable!");
-is(e.key, "", "key should be ''");
+is(e.key, null, "key should be null");
is(e.oldValue, null, "oldValue should be null");
is(e.newValue, null, "newValue should be null");
is(e.url, "", "url should be ''");
@@ -12,7 +12,6 @@ include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
_TESTS = \
- test_event_constructor.html.json \
test_storage_local_security.html.json \
$(NULL)
@@ -1,3 +0,0 @@
-{
- "storageeventinit test": true
-}
@@ -12,7 +12,6 @@ include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
_TESTS = \
- test_event_constructor_js.html.json \
test_storage_local_in_js.html.json \
test_storage_local_removeitem_js.html.json \
test_storage_session_in_js.html.json \
@@ -1,3 +0,0 @@
-{
- "StorageEvent constructor and nulls": true
-}
@@ -65,7 +65,7 @@ interface nsIDOMStorageEvent : nsIDOMEvent
dictionary StorageEventInit : EventInit
{
- DOMString key;
+ DOMString? key;
DOMString? oldValue;
DOMString? newValue;
DOMString url;

0 comments on commit 5a88193

Please sign in to comment.