1/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2/* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 4 * You can obtain one at http://mozilla.org/MPL/2.0/. 5 */ 6 7// 8// These dictionaries are in a separate WebIDL file to avoid circular include 9// problems. One of the dictionary includes a union as a member, so that 10// dictionary's header needs to include UnionTypes.h. But the API in 11// TestInterfaceJS also declares a union of dictionaries, so _that_ 12// dictionary's header needs to be included _by_ UnionTypes.h. The solution 13// is to separate those two dictionaries into separate header files. 14// 15 16dictionary TestInterfaceJSDictionary2 { 17 object innerObject; 18}; 19 20dictionary TestInterfaceJSDictionary { 21 TestInterfaceJSDictionary2 innerDictionary; 22 object objectMember; 23 any anyMember; 24 (object or DOMString) objectOrStringMember; 25 sequence<any> anySequenceMember; 26}; 27 28