mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
3.3 KiB
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). |