puppeteer/new-docs/puppeteer.protocol.debugger.scriptfailedtoparseevent.md
Maksim Sadym 62ac167339
feat(chromium): roll Chromium to r800071 (#6407)
* roll Chromium to version 86, r800071
* roll Chrome DevTools protocol version to 0.0.799653
* fix HTTPRequest.continue after
  * CDP: accept post data in the binary form in Fetch.continueRequest.
    https://chromium-review.googlesource.com/c/chromium/src/+/2315239
* update new-docs
2020-09-09 21:23:46 +02:00

3.5 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.
embedderName string The name the embedder supplied for this script.
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).