Bug 1886946: Remove incorrect assertion that buffer is not-pinned. r=sfink
[gecko.git] / dom / ipc / CustomElementTypes.ipdlh
blobbdbf004ca99549d6c3123eb7f58bd016b04cffe5
1 /* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */
2 /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4  * License, v. 2.0. If a copy of the MPL was not distributed with this
5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 include "mozilla/dom/IPCBlobUtils.h";
9 [RefCounted] using class mozilla::dom::BlobImpl from "mozilla/dom/BlobImpl.h";
10 using struct mozilla::void_t from "mozilla/ipc/IPCCore.h";
12 namespace mozilla {
13 namespace dom {
15 // Types used to store form-associated custom element state.
16 union FormDataValue {
17   BlobImpl;
18   nsString;
21 struct FormDataTuple {
22   nsString name;
23   FormDataValue value;
26 union CustomElementFormValue {
27   void_t;
28   nullable BlobImpl;
29   nsString;
30   FormDataTuple[];
33 struct CustomElementTuple {
34   CustomElementFormValue value;
35   CustomElementFormValue state;
38 } // namespace dom
39 } // namespace mozilla