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

Unified Diff: Source/bindings/tests/idls/core/TestDictionary.idl

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: Use cpp_type() to serialize a type 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/idls/core/TestDictionary.idl
diff --git a/Source/bindings/tests/idls/core/TestDictionary.idl b/Source/bindings/tests/idls/core/TestDictionary.idl
index 73f0b624bb65aacbc48951e8f505cbe5397de322..cfea13c800da6917498a3d0cd45f5df4a7c488e2 100644
--- a/Source/bindings/tests/idls/core/TestDictionary.idl
+++ b/Source/bindings/tests/idls/core/TestDictionary.idl
@@ -17,7 +17,7 @@ dictionary TestDictionary {
TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageCollectedMember;
TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCollectedOrNullMember;
DOMString[] stringArrayMember;
- sequence<DOMString> stringSequenceMember;
+ sequence<DOMString> stringSequenceMember = [];
Jeffrey Yasskin 2015/06/29 23:26:29 I can add a separate member if this one needs to t
sequence<TestInterface> testInterfaceSequenceMember = [];
sequence<TestInterfaceGarbageCollected> testInterfaceGarbageCollectedSequenceMember = [];
sequence<TestInterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceMember = [];

Powered by Google App Engine
This is Rietveld 408576698