Index: LayoutTests/fast/events/constructors/storage-event-constructor-expected.txt |
diff --git a/LayoutTests/fast/events/constructors/storage-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/storage-event-constructor-expected.txt |
index d92256306bc70900c77db4596686af308e70e24e..27777e16ce7ca9db0444426301b663e8e4f01acd 100644 |
--- a/LayoutTests/fast/events/constructors/storage-event-constructor-expected.txt |
+++ b/LayoutTests/fast/events/constructors/storage-event-constructor-expected.txt |
@@ -68,20 +68,21 @@ PASS new StorageEvent('eventType', { url: {abcde: 12345} }).url is "[object Obje |
PASS new StorageEvent('eventType', { url: {valueOf: function () { return 'abcde'; } } }).url is "[object Object]" |
PASS new StorageEvent('eventType', { storageArea: localStorage }).storageArea is localStorage |
PASS new StorageEvent('eventType', { storageArea: sessionStorage }).storageArea is sessionStorage |
-PASS new StorageEvent('eventType', { storageArea: test_object }).storageArea is null |
-PASS new StorageEvent('eventType', { storageArea: window }).storageArea is null |
-PASS new StorageEvent('eventType', { storageArea: document }).storageArea is null |
+PASS new StorageEvent('eventType', { storageArea: test_object }).storageArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type.. |
+PASS new StorageEvent('eventType', { storageArea: window }).storageArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type.. |
+PASS new StorageEvent('eventType', { storageArea: document }).storageArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type.. |
PASS new StorageEvent('eventType', { storageArea: undefined }).storageArea is null |
PASS new StorageEvent('eventType', { storageArea: null }).storageArea is null |
-PASS new StorageEvent('eventType', { storageArea: false }).storageArea is null |
-PASS new StorageEvent('eventType', { storageArea: true }).storageArea is null |
-PASS new StorageEvent('eventType', { storageArea: '' }).storageArea is null |
-PASS new StorageEvent('eventType', { storageArea: 'chocolate' }).storageArea is null |
-PASS new StorageEvent('eventType', { storageArea: 12345 }).storageArea is null |
-PASS new StorageEvent('eventType', { storageArea: 18446744073709551615 }).storageArea is null |
-PASS new StorageEvent('eventType', { storageArea: NaN }).storageArea is null |
-PASS new StorageEvent('eventType', { storageArea: {valueOf: function () { return window; } } }).storageArea == window is false |
-PASS new StorageEvent('eventType', { get storageArea() { return 123; } }).storageArea is null |
+PASS new StorageEvent('eventType', { storageArea: false }).storageArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type.. |
+PASS new StorageEvent('eventType', { storageArea: true }).storageArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type.. |
+PASS new StorageEvent('eventType', { storageArea: '' }).storageArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type.. |
+PASS new StorageEvent('eventType', { storageArea: 'chocolate' }).storageArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type.. |
+PASS new StorageEvent('eventType', { storageArea: 12345 }).storageArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type.. |
+PASS new StorageEvent('eventType', { storageArea: 18446744073709551615 }).storageArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type.. |
+PASS new StorageEvent('eventType', { storageArea: NaN }).storageArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type.. |
+PASS new StorageEvent('eventType', { storageArea: {valueOf: function () { return window; } } }).storageArea == window threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type.. |
+PASS new StorageEvent('eventType', { get storageArea() { return localStorage; } }).storageArea is localStorage |
+PASS new StorageEvent('eventType', { get storageArea() { return 123; } }).storageArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type.. |
PASS new StorageEvent('eventType', { get storageArea() { throw 'StorageEvent Error'; } }) threw exception StorageEvent Error. |
PASS new StorageEvent('eventType', { bubbles: true, cancelable: false, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).bubbles is true |
PASS new StorageEvent('eventType', { bubbles: false, cancelable: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).cancelable is true |