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

Unified Diff: third_party/WebKit/Source/bindings/tests/idls/core/TestInterface4.idl

Issue 1383093002: [bindings] support legacyiterable<> WebIDL syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: third_party/WebKit/Source/bindings/tests/idls/core/TestInterface4.idl
diff --git a/third_party/WebKit/Source/bindings/tests/idls/core/TestInterface4.idl b/third_party/WebKit/Source/bindings/tests/idls/core/TestInterface4.idl
new file mode 100644
index 0000000000000000000000000000000000000000..de1809fc9c9c5f8f35ab7725a707a5477a3d3a3c
--- /dev/null
+++ b/third_party/WebKit/Source/bindings/tests/idls/core/TestInterface4.idl
@@ -0,0 +1,17 @@
+// Copyright 2015 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.
+
+interface TestInterface4 {
+ [Custom] getter boolean (unsigned long index);
+ [Custom] setter boolean (unsigned long index, Node value);
+ [Custom] deleter boolean (unsigned long index);
+
+ [Custom=(PropertyGetter,PropertyEnumerator,PropertyQuery)] getter Node (DOMString name);
+ [Custom] setter Node (DOMString name, Node value);
+ [Custom] deleter boolean (DOMString name);
+
+ void voidMethodDocument(Document document);
+
+ [RuntimeEnabled=FeatureName] legacyiterable<any>;
haraken 2015/10/04 03:04:17 Can we add this to any of existing test interface?
+};

Powered by Google App Engine
This is Rietveld 408576698