/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- * vim: set ts=8 sts=2 et sw=2 tw=80: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Derived class for all scripted proxy handlers. */ class ScriptedProxyHandler : public NurseryAllocableProxyHandler { public: enumclass GetTrapValidationResult {
OK,
MustReportSameValue,
MustReportUndefined,
Exception,
};
// The "proxy extra" slot index in which the handler is stored. Revocable // proxies need to set this at revocation time. staticconstint HANDLER_EXTRA = 0; staticconstint IS_CALLCONSTRUCT_EXTRA = 1; // Bitmasks for the "call/construct" slot staticconstint IS_CALLABLE = 1 << 0; staticconstint IS_CONSTRUCTOR = 1 << 1; // The "function extended" slot index in which the revocation object is // stored. Per spec, this is to be cleared during the first revocation. staticconstint REVOKE_SLOT = 0;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.