Interface nsIE10SUtilsType

C++ exposed interface for the E10SUtils object from the resource://gre/modules/E10SUtils.sys.mjs module.

Hierarchy

Methods

  • Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

  • Determine what remote type should be used to launch a worker script with the given principal.

    Returns

    The remote type to launch the worker in.

    Parameters

    • aPrincipal: nsIPrincipal

      The result principal for the document being loaded.

    • aWorkerType: nsIE10SUtils_RemoteWorkerType
    • aIsMultiProcess: boolean

      A boolean to indicate if e10s enabled.

    • aIsFission: boolean

      A boolean to indicate if fission is enabled.

    • aPreferredRemoteType: string

      If multiple remote types are compatible with the worker, prefer staying in this remote type.

    Returns string

Generated using TypeDoc