Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt

Issue 1316833003: bindings: Support (deprecated) Dictionary in IDL dictionary (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698