Bug 1497008 [wpt PR 13405] - Fix assert for StorageEvent constructor test, a=testonly
authorPhilip Jägenstedt <philip@foolip.org>
Thu, 11 Oct 2018 09:31:23 +0000
changeset 499479 5ea03aea88463dd69bd1dfd838b6aee1506d89dc
parent 499478 113102643432c772f228e02246a2f7d606abe725
child 499480 50023456d99683f78270df0e8f5c54e772d08216
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1497008, 13405, 13368
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1497008 [wpt PR 13405] - Fix assert for StorageEvent constructor test, a=testonly Automatic update from web-platform-testsFix assert for StorageEvent constructor test (#13405) Reported by @Zirro: https://github.com/web-platform-tests/wpt/pull/13368/files/56c3da3f1c6921a9a80433657d49b42bd8c05596#r223192022 -- wpt-commits: ba4ca501a5ebdee8cbfc006bf9e7e44231b188d1 wpt-pr: 13405
testing/web-platform/tests/webstorage/event_initstorageevent.html
--- a/testing/web-platform/tests/webstorage/event_initstorageevent.html
+++ b/testing/web-platform/tests/webstorage/event_initstorageevent.html
@@ -59,14 +59,14 @@
             const event = new StorageEvent('storage');
             event.initStorageEvent(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined);
             assert_equals(event.type, 'undefined', 'event.type');
             assert_equals(event.bubbles, false, 'event.bubbles');
             assert_equals(event.cancelable, false, 'event.cancelable');
             assert_equals(event.key, null, 'event.key');
             assert_equals(event.oldValue, null, 'event.oldValue');
             assert_equals(event.newValue, null, 'event.newValue');
-            assert_equals(event.url, 'undefined', 'event.url');
+            assert_equals(event.url, '', 'event.url');
             assert_equals(event.storageArea, null, 'event.storageArea');
         }, 'initStorageEvent with 8 undefined arguments');
     </script>
  </body>
 </html>