Documentation
    Preparing search index...

    Interface BrowserAdmissionRequest

    Trusted inputs to one provisional-session and executable-byte transaction.

    interface BrowserAdmissionRequest {
        available: readonly string[];
        baseOrigin?: string;
        commit: (srcdoc: string, result: BrowserAdmissionCommit) => void;
        entry: SessionEntry;
        experimental?: NappletExperimentalOptions;
        isCurrentSource: () => boolean;
        onRetire: () => void;
        optional: readonly string[];
        remoteSources: readonly BrowserRemoteSource[];
        required: readonly string[];
        runtime: Pick<Runtime, "sessionRegistry" | "permissions" | "destroyWindow">;
        signal?: AbortSignal;
        verifiedHtml: string;
    }
    Index

    Properties

    available: readonly string[]

    Complete host-supported and manifest-declared interface sets.

    baseOrigin?: string

    Exact development origin for the host-injected base URL, if present.

    commit: (srcdoc: string, result: BrowserAdmissionCommit) => void

    Synchronous assignment of the supplied prepared srcdoc to the frame.

    Readonlyentry

    Host-attested source identity; its principal must bind this artifact hash.

    Opt-in experimental document policies. Scan the verified bytes with assertNappletHasNoFrame before requesting the nested-context lock, and with assertNappletHasNoResourceHint before the resource-hint lock.

    isCurrentSource: () => boolean

    True only while this exact frame generation remains the active source.

    onRetire: () => void

    Remove an executing frame and host source binding after invalidation.

    optional: readonly string[]
    remoteSources: readonly BrowserRemoteSource[]

    Exact remote browser sources proposed by trusted host configuration.

    required: readonly string[]
    runtime: Pick<Runtime, "sessionRegistry" | "permissions" | "destroyWindow">

    Runtime that owns the source, approval coordinator, and grant store.

    signal?: AbortSignal

    Navigation, closure, or replacement cancellation.

    verifiedHtml: string

    Artifact HTML already verified by the host resolver, or explicit dev bytes.