Index: bindings/tests/idls/TestInterfaceGarbageCollected.idl |
diff --git a/bindings/tests/idls/TestInterfaceGarbageCollected.idl b/bindings/tests/idls/TestInterfaceGarbageCollected.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..55739a3da0897c632a05b0a60fa06cd196e08fe3 |
--- /dev/null |
+++ b/bindings/tests/idls/TestInterfaceGarbageCollected.idl |
@@ -0,0 +1,11 @@ |
+// 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. |
+ |
+[ |
+ Constructor(DOMString str), |
+ GarbageCollected, |
+] interface TestInterfaceGarbageCollected : EventTarget { // Inherit from EventTarget to test order of internal fields |
+ attribute TestInterfaceGarbageCollected attr1; |
+ void func(TestInterfaceGarbageCollected arg); |
+}; |