Documentation
    Preparing search index...

    Interface NappletRevocation

    Passed to ShellAdapter.onNappletRevoked after the shell closed the port and revoked the identity binding, sessions and grants of one frame.

    hooks.onNappletRevoked = ({ windowId }) => frames.get(windowId)?.remove();
    
    interface NappletRevocation {
        detail: string;
        reason: NappletRevocationReason;
        windowId: string;
    }
    Index

    Properties

    detail: string

    Human-readable detail for diagnostics. Never includes message payloads.

    What the shell observed.

    windowId: string

    The revoked window. Its identity can never be re-bound to the same iframe.