1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 * vim: set ts=4 sw=4 et tw=80:
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
10 using struct mozilla::void_t from "ipc/IPCMessageUtils.h";
32 uint64_t serializedId;
37 uint64_t serializedId;
50 struct WellKnownSymbol
55 struct RegisteredSymbol
66 struct UndefinedVariant {};
67 struct NullVariant {};
69 union ObjectOrNullVariant
81 nsString; /* StringValue(x) */
82 double; /* NumberValue(x) */
83 bool; /* BooleanValue(x) */
84 JSIID; /* XPC nsIID */
102 struct ReturnException
107 struct ReturnObjectOpResult
117 ReturnObjectOpResult;
122 void_t; /* value is strictly an xpc out param */
123 JSVariant; /* actual value to pass through */
132 struct PPropertyDescriptor
134 ObjectOrNullVariant obj;
138 // How to interpret these values depends on whether JSPROP_GETTER/SETTER
139 // are set. If set, the corresponding value is a CPOW or 0 for NULL.
140 // Otherwise, the following table is used:
143 // 1 - Default getter or setter.