Index: core/testing/InternalDictionary.idl |
diff --git a/core/testing/InternalDictionary.idl b/core/testing/InternalDictionary.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d0c4e600c4c9b65ec82fb4ae0a5b3727eb842aa0 |
--- /dev/null |
+++ b/core/testing/InternalDictionary.idl |
@@ -0,0 +1,27 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+enum InternalEnum { "foo", "bar", "baz" }; |
+ |
+[ |
+ GarbageCollected |
+] dictionary InternalDictionary { |
+ long longMember; |
+ long longMemberWithDefault = 42; |
+ long? longOrNullMember; |
+ long? longOrNullMemberWithDefault = null; |
+ boolean booleanMember; |
+ double doubleMember; |
+ DOMString stringMember; |
+ DOMString stringMemberWithDefault = "defaultStringValue"; |
+ sequence<DOMString> stringSequenceMember; |
+ sequence<DOMString>? stringSequenceOrNullMember; |
+ InternalEnum enumMember; |
+ InternalEnum enumMemberWithDefault = "foo"; |
+ InternalEnum? enumOrNullMember; |
+ Element elementMember; |
+ Element? elementOrNullMember; |
+ object objectMember; |
+ object? objectOrNullMemberWithDefault = null; |
+}; |