Index: LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt |
diff --git a/LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt b/LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt |
index eee6c68c3b6e64a99709cb18af0dada99ff6ad6d..02da732d7eeefd7fd33fc9092c682a7b0f0041db 100644 |
--- a/LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt |
+++ b/LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt |
@@ -16,6 +16,9 @@ PASS dict.stringSequenceMember is undefined. |
PASS dict.stringSequenceOrNullMember is undefined. |
PASS dict.elementMember is undefined. |
PASS dict.elementOrNullMember is undefined. |
+PASS dict.enumMember is undefined. |
+PASS dict.enumMemberWithDefault is "foo" |
+PASS dict.enumOrNullMember is undefined. |
Test for setting undefined |
PASS dict.longMember is undefined. |
@@ -44,6 +47,9 @@ PASS dict.stringSequenceMember is ["foo", "bar", "baz"] |
PASS dict.stringSequenceOrNullMember is [] |
PASS dict.elementMember is element1 |
PASS dict.elementOrNullMember is undefined. |
+PASS dict.enumMember is "foo" |
+PASS dict.enumMemberWithDefault is "bar" |
+PASS dict.enumOrNullMember is "baz" |
Test for explicit undefined or null, and missing members |
PASS dict.longMember is undefined. |
@@ -54,6 +60,9 @@ PASS dict.longOrNullMemberWithDefault is null |
Test for setting invalid member |
PASS dict.invalidMember is undefined. |
+Test for setting invalid enum value |
+PASS dictionaryTest.set({enumMember: 'invalid'}) threw exception TypeError: Failed to execute 'set' on 'DictionaryTest': member enumMember ('invalid') is not a valid enum value.. |
+ |
PASS successfullyParsed is true |
TEST COMPLETE |