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

Unified Diff: Source/bindings/tests/results/core/TestDictionary.cpp

Issue 1221743002: Teach Blink's IDL parser to handle defaulted sequences of strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Add a test to LayoutTests/fast/dom/idl-dictionary-unittest.html Created 5 years, 6 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: Source/bindings/tests/results/core/TestDictionary.cpp
diff --git a/Source/bindings/tests/results/core/TestDictionary.cpp b/Source/bindings/tests/results/core/TestDictionary.cpp
index c9c7eecd4a90470992b6614e29d8dd8c98654597..fa1fd0e5e5357a72716990a1067075bf73a7485b 100644
--- a/Source/bindings/tests/results/core/TestDictionary.cpp
+++ b/Source/bindings/tests/results/core/TestDictionary.cpp
@@ -18,8 +18,9 @@ TestDictionary::TestDictionary()
setOtherDoubleOrStringMember(DoubleOrString::fromString(String("default string value")));
setRestrictedDoubleMember(3.14);
setStringOrNullMember(String("default string value"));
+ setStringSequenceMember(Vector<String>());
setTestInterfaceGarbageCollectedSequenceMember(HeapVector<Member<TestInterfaceGarbageCollected>>());
- setTestInterfaceSequenceMember(Vector<RefPtr<TestInterface>>());
+ setTestInterfaceSequenceMember(Vector<RefPtr<TestInterfaceImplementation>>());
setTestInterfaceWillBeGarbageCollectedSequenceMember(WillBeHeapVector<RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected>>());
setUnrestrictedDoubleMember(3.14);
}
« no previous file with comments | « Source/bindings/tests/idls/core/TestDictionary.idl ('k') | Source/bindings/tests/results/core/V8TestDictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698