puppeteer/new-docs/puppeteer.protocol.debugger.scriptparsedevent.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.8 KiB

Home > puppeteer > Protocol > Debugger > ScriptParsedEvent

Protocol.Debugger.ScriptParsedEvent interface

Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.

Signature:

export interface ScriptParsedEvent 

Properties

Property Type Description
codeOffset integer If the scriptLanguage is WebAssembly, the code section offset in the module.
debugSymbols Debugger.DebugSymbols If the scriptLanguage is WebASsembly, the source of debug symbols for 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.
isLiveEdit boolean True, if this script is generated as a result of the live edit operation.
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).