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

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

Issue 740453004: IDL: Basic dictionary inheritance support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « LayoutTests/fast/dom/idl-dictionary-unittest.html ('k') | Source/bindings/scripts/code_generator_v8.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a310d6b521e8101a2d54892cb79d3a09f09068a5..1cce850d6520d2a701b7cbb71580227e97cd682d 100644
--- a/LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt
+++ b/LayoutTests/fast/dom/idl-dictionary-unittest-expected.txt
@@ -77,6 +77,34 @@ Test for passing invalid dictionary values
PASS dictionaryTest.set(42) threw exception TypeError: Failed to execute 'set' on 'DictionaryTest': parameter 1 ('testingDictionary') is not an object..
PASS dictionaryTest.set('string') threw exception TypeError: Failed to execute 'set' on 'DictionaryTest': parameter 1 ('testingDictionary') is not an object..
+Test for derived dictionary
+PASS derived.longMember is undefined.
+PASS derived.longMemberWithDefault is 42
+PASS derived.longOrNullMember is undefined.
+PASS derived.longOrNullMemberWithDefault is null
+PASS derived.booleanMember is undefined.
+PASS derived.doubleMember is undefined.
+PASS derived.stringMember is undefined.
+PASS derived.stringMemberWithDefault is "defaultStringValue"
+PASS derived.stringSequenceMember is undefined.
+PASS derived.stringSequenceOrNullMember is undefined.
+PASS derived.elementMember is undefined.
+PASS derived.elementOrNullMember is undefined.
+PASS derived.enumMember is undefined.
+PASS derived.enumMemberWithDefault is "foo"
+PASS derived.enumOrNullMember is undefined.
+PASS derived.objectMember is undefined.
+PASS derived.objectOrNullMemberWithDefault is null
+PASS derived.derivedStringMember is undefined.
+PASS derived.derivedStringMemberWithDefault is "derivedDefaultStringValue"
+
+PASS derived.longMember is 1
+PASS derived.stringMemberWithDefault is "modifiedString"
+PASS derived.derivedStringMember is "modifiedString2"
+PASS derived.derivedStringMemberWithDefault is "modifiedString3"
+PASS derived.invalidMember is undefined.
+
+PASS dictionaryTest.setDerived({objectMember: 42}) threw exception TypeError: Failed to execute 'setDerived' on 'DictionaryTest': member objectMember is not an object..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/dom/idl-dictionary-unittest.html ('k') | Source/bindings/scripts/code_generator_v8.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698