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 07797a17928b2be917fd83e4e6fe6b9b8dc4036e..44a89782ec67060cd0ea766ab88c872a18f22bcc 100644 |
--- a/LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt |
+++ b/LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt |
@@ -141,6 +141,14 @@ PASS dictionaryTest.set({eventTargetOrNullMember: 42}) threw exception TypeError |
PASS dictionaryTest.set({eventTargetOrNullMember: []}) threw exception TypeError: Failed to execute 'set' on 'DictionaryTest': member eventTargetOrNullMember is not of type EventTarget.. |
PASS dictionaryTest.set({eventTargetOrNullMember: {}}) threw exception TypeError: Failed to execute 'set' on 'DictionaryTest': member eventTargetOrNullMember is not of type EventTarget.. |
+Test for passing Dictionary (not IDL dictionary) |
+PASS properties.foo is "x" |
+PASS properties.bar is "y" |
+PASS properties.baz is undefined. |
+PASS properties is {} |
+PASS dictionaryTest.set({dictionaryMember: 42}) threw exception TypeError: Failed to execute 'set' on 'DictionaryTest': member dictionaryMember is not an object.. |
+PASS dictionaryTest.set({dictionaryMember: 'foo'}) threw exception TypeError: Failed to execute 'set' on 'DictionaryTest': member dictionaryMember is not an object.. |
+ |
Test for derived dictionary |
PASS derived.longMember is undefined. |
PASS derived.longMemberWithDefault is 42 |