Index: LayoutTests/fast/events/constructors/autocomplete-error-event-constructor-expected.txt |
diff --git a/LayoutTests/fast/events/constructors/autocomplete-error-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/autocomplete-error-event-constructor-expected.txt |
index c22346a56d52fa6483dfd7d1600ebae39c4d3dd3..45c8205590e6f05752806fdcf7aed15fa98b8963 100644 |
--- a/LayoutTests/fast/events/constructors/autocomplete-error-event-constructor-expected.txt |
+++ b/LayoutTests/fast/events/constructors/autocomplete-error-event-constructor-expected.txt |
@@ -10,22 +10,20 @@ PASS new AutocompleteErrorEvent('eventType', { bubbles: false }).bubbles is fals |
PASS new AutocompleteErrorEvent('eventType', { bubbles: true }).bubbles is true |
PASS new AutocompleteErrorEvent('eventType', { cancelable: false }).cancelable is false |
PASS new AutocompleteErrorEvent('eventType', { cancelable: true }).cancelable is true |
-PASS new AutocompleteErrorEvent('eventType', { reason: 'doremi' }).reason is "doremi" |
+PASS new AutocompleteErrorEvent('eventType', { reason: 'cancel' }).reason is "cancel" |
PASS new AutocompleteErrorEvent('eventType', { reason: '' }).reason is "" |
+PASS new AutocompleteErrorEvent('eventType', { reason: 'disabled' }).reason is "disabled" |
+PASS new AutocompleteErrorEvent('eventType', { reason: 'invalid' }).reason is "invalid" |
PASS new AutocompleteErrorEvent('eventType', { reason: undefined }).reason is "" |
-PASS new AutocompleteErrorEvent('eventType', { reason: null }).reason is "null" |
-PASS new AutocompleteErrorEvent('eventType', { reason: false }).reason is "false" |
-PASS new AutocompleteErrorEvent('eventType', { reason: true }).reason is "true" |
-PASS new AutocompleteErrorEvent('eventType', { reason: 12345 }).reason is "12345" |
-PASS new AutocompleteErrorEvent('eventType', { reason: 18446744073709551615 }).reason is "18446744073709552000" |
-PASS new AutocompleteErrorEvent('eventType', { reason: NaN }).reason is "NaN" |
-PASS new AutocompleteErrorEvent('eventType', { reason: [] }).reason is "" |
-PASS new AutocompleteErrorEvent('eventType', { reason: [1, 2, 3] }).reason is "1,2,3" |
-PASS new AutocompleteErrorEvent('eventType', { reason: {doremi: 12345} }).reason is "[object Object]" |
-PASS new AutocompleteErrorEvent('eventType', { reason: {valueOf: function () { return 'doremi'; } } }).reason is "[object Object]" |
-PASS new AutocompleteErrorEvent('eventType', { bubbles: true, cancelable: true, reason: 'doremi' }).bubbles is true |
-PASS new AutocompleteErrorEvent('eventType', { bubbles: true, cancelable: true, reason: 'doremi' }).cancelable is true |
-PASS new AutocompleteErrorEvent('eventType', { bubbles: true, cancelable: true, reason: 'doremi' }).reason is "doremi" |
+PASS new AutocompleteErrorEvent('eventType', { reason: 'doremi' }) threw exception TypeError: Failed to construct 'AutocompleteErrorEvent': The provided value 'doremi' is not a valid enum value of type AutocompleteErrorReason.. |
+PASS new AutocompleteErrorEvent('eventType', { reason: null }) threw exception TypeError: Failed to construct 'AutocompleteErrorEvent': The provided value 'null' is not a valid enum value of type AutocompleteErrorReason.. |
+PASS new AutocompleteErrorEvent('eventType', { reason: false }) threw exception TypeError: Failed to construct 'AutocompleteErrorEvent': The provided value 'false' is not a valid enum value of type AutocompleteErrorReason.. |
+PASS new AutocompleteErrorEvent('eventType', { reason: true }) threw exception TypeError: Failed to construct 'AutocompleteErrorEvent': The provided value 'true' is not a valid enum value of type AutocompleteErrorReason.. |
+PASS new AutocompleteErrorEvent('eventType', { reason: 12345 }) threw exception TypeError: Failed to construct 'AutocompleteErrorEvent': The provided value '12345' is not a valid enum value of type AutocompleteErrorReason.. |
+PASS new AutocompleteErrorEvent('eventType', { reason: NaN }) threw exception TypeError: Failed to construct 'AutocompleteErrorEvent': The provided value 'NaN' is not a valid enum value of type AutocompleteErrorReason.. |
+PASS new AutocompleteErrorEvent('eventType', { bubbles: true, cancelable: true, reason: '' }).bubbles is true |
+PASS new AutocompleteErrorEvent('eventType', { bubbles: true, cancelable: true, reason: 'cancel' }).cancelable is true |
+PASS new AutocompleteErrorEvent('eventType', { bubbles: true, cancelable: true, reason: 'disabled' }).reason is "disabled" |
PASS successfullyParsed is true |
TEST COMPLETE |