IFClite TypeScript API
    Preparing search index...

    Recorded message sequences (transcripts/*.json) that both sides replay: the viewer's tests feed the host's messages to the real bridge and expect the viewer's, and host tests can do the reverse against connectViewer.

    In an expected message, the string "<any>" matches any value that is present, "<string>" and "<number>" any value of that type.

    interface TranscriptStep {
        from: "viewer" | "host";
        message: unknown;
        note?: string;
        outsideSchema?: true;
        via: "port" | "window";
    }
    Index
    from: "viewer" | "host"
    message: unknown
    note?: string
    outsideSchema?: true

    A deliberately malformed message (the viewer must refuse it): not valid against the schema.

    via: "port" | "window"

    window: a window message (the hello carries a port); port: on the port after the handshake.