puppeteer/new-docs/puppeteer.protocol.debugger.scriptfailedtoparseevent.md
2020-07-13 14:01:35 +01:00

3.3 KiB

Home > puppeteer > Protocol > Debugger > ScriptFailedToParseEvent

Protocol.Debugger.ScriptFailedToParseEvent interface

Fired when virtual machine fails to parse the script.

Signature:

export interface ScriptFailedToParseEvent 

Properties

Property Type Description
codeOffset integer If the scriptLanguage is WebAssembly, the code section offset in the module.
endColumn integer Length of the last line of the script.
endLine integer Last line of the script.
executionContextAuxData any Embedder-specific auxiliary data.
executionContextId Runtime.ExecutionContextId Specifies script creation context.
hash string Content hash of the script.
hasSourceURL boolean True, if this script has sourceURL.
isModule boolean True, if this script is ES6 module.
length integer This script length.
scriptId Runtime.ScriptId Identifier of the script parsed.
scriptLanguage Debugger.ScriptLanguage The language of the script.
sourceMapURL string URL of source map associated with script (if any).
stackTrace Runtime.StackTrace JavaScript top stack frame of where the script parsed event was triggered if available.
startColumn integer Column offset of the script within the resource with given URL.
startLine integer Line offset of the script within the resource with given URL (for script tags).
url string URL or name of the script parsed (if any).