Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Debugger.ScriptFailedToParseEvent
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { ScriptFailedToParseEvent } = default.Debugger;

Fired when virtual machine fails to parse the script.

Properties

Identifier of the script parsed.

url: string

URL or name of the script parsed (if any).

startLine: integer

Line offset of the script within the resource with given URL (for script tags).

startColumn: integer

Column offset of the script within the resource with given URL.

endLine: integer

Last line of the script.

endColumn: integer

Length of the last line of the script.

executionContextId: Runtime.ExecutionContextId

Specifies script creation context.

hash: string

Content hash of the script.

optional
executionContextAuxData: any

Embedder-specific auxiliary data.

optional
sourceMapURL: string

URL of source map associated with script (if any).

optional
hasSourceURL: boolean

True, if this script has sourceURL.

optional
isModule: boolean

True, if this script is ES6 module.

optional
length: integer

This script length.

optional
stackTrace: Runtime.StackTrace

JavaScript top stack frame of where the script parsed event was triggered if available.

optional
codeOffset: integer

If the scriptLanguage is WebAssembly, the code section offset in the module.

optional
scriptLanguage: Debugger.ScriptLanguage

The language of the script.

optional
embedderName: string

The name the embedder supplied for this script.