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

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: 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
« no previous file with comments | « Source/bindings/scripts/v8_types.py ('k') | Source/bindings/tests/results/core/TestDictionary.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = [];
sequence<TestInterface> testInterfaceSequenceMember = [];
sequence<TestInterfaceGarbageCollected> testInterfaceGarbageCollectedSequenceMember = [];
sequence<TestInterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceMember = [];
« no previous file with comments | « Source/bindings/scripts/v8_types.py ('k') | Source/bindings/tests/results/core/TestDictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698