Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Protocol.Network.Initiator

Headless Chrome Deno API
Latest
interface Protocol.Network.Initiator
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { Initiator } = Protocol.Network;

Information about the request initiator.

Properties

type:
| "parser"
| "script"
| "preload"
| "SignedExchange"
| "other"

Type of this initiator. (InitiatorType enum)

optional
stack: Runtime.StackTrace

Initiator JavaScript stack trace, set for Script only.

optional
url: string

Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.

optional
lineNumber: number

Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).

optional
columnNumber: number

Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).