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

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

Issue 561633003: IDL: Enumerations support in dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove parens Created 6 years, 3 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
« no previous file with comments | « LayoutTests/fast/dom/idl-dictionary-unittest.html ('k') | Source/bindings/scripts/v8_dictionary.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 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
« no previous file with comments | « LayoutTests/fast/dom/idl-dictionary-unittest.html ('k') | Source/bindings/scripts/v8_dictionary.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698