36 lines
3.3 KiB
Markdown
36 lines
3.3 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Debugger](./puppeteer.protocol.debugger.md) > [ScriptFailedToParseEvent](./puppeteer.protocol.debugger.scriptfailedtoparseevent.md)
|
|
|
|
## Protocol.Debugger.ScriptFailedToParseEvent interface
|
|
|
|
Fired when virtual machine fails to parse the script.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface ScriptFailedToParseEvent
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [codeOffset](./puppeteer.protocol.debugger.scriptfailedtoparseevent.codeoffset.md) | [integer](./puppeteer.protocol.integer.md) | If the scriptLanguage is WebAssembly, the code section offset in the module. |
|
|
| [endColumn](./puppeteer.protocol.debugger.scriptfailedtoparseevent.endcolumn.md) | [integer](./puppeteer.protocol.integer.md) | Length of the last line of the script. |
|
|
| [endLine](./puppeteer.protocol.debugger.scriptfailedtoparseevent.endline.md) | [integer](./puppeteer.protocol.integer.md) | Last line of the script. |
|
|
| [executionContextAuxData](./puppeteer.protocol.debugger.scriptfailedtoparseevent.executioncontextauxdata.md) | any | Embedder-specific auxiliary data. |
|
|
| [executionContextId](./puppeteer.protocol.debugger.scriptfailedtoparseevent.executioncontextid.md) | [Runtime.ExecutionContextId](./puppeteer.protocol.runtime.executioncontextid.md) | Specifies script creation context. |
|
|
| [hash](./puppeteer.protocol.debugger.scriptfailedtoparseevent.hash.md) | string | Content hash of the script. |
|
|
| [hasSourceURL](./puppeteer.protocol.debugger.scriptfailedtoparseevent.hassourceurl.md) | boolean | True, if this script has sourceURL. |
|
|
| [isModule](./puppeteer.protocol.debugger.scriptfailedtoparseevent.ismodule.md) | boolean | True, if this script is ES6 module. |
|
|
| [length](./puppeteer.protocol.debugger.scriptfailedtoparseevent.length.md) | [integer](./puppeteer.protocol.integer.md) | This script length. |
|
|
| [scriptId](./puppeteer.protocol.debugger.scriptfailedtoparseevent.scriptid.md) | [Runtime.ScriptId](./puppeteer.protocol.runtime.scriptid.md) | Identifier of the script parsed. |
|
|
| [scriptLanguage](./puppeteer.protocol.debugger.scriptfailedtoparseevent.scriptlanguage.md) | [Debugger.ScriptLanguage](./puppeteer.protocol.debugger.scriptlanguage.md) | The language of the script. |
|
|
| [sourceMapURL](./puppeteer.protocol.debugger.scriptfailedtoparseevent.sourcemapurl.md) | string | URL of source map associated with script (if any). |
|
|
| [stackTrace](./puppeteer.protocol.debugger.scriptfailedtoparseevent.stacktrace.md) | [Runtime.StackTrace](./puppeteer.protocol.runtime.stacktrace.md) | JavaScript top stack frame of where the script parsed event was triggered if available. |
|
|
| [startColumn](./puppeteer.protocol.debugger.scriptfailedtoparseevent.startcolumn.md) | [integer](./puppeteer.protocol.integer.md) | Column offset of the script within the resource with given URL. |
|
|
| [startLine](./puppeteer.protocol.debugger.scriptfailedtoparseevent.startline.md) | [integer](./puppeteer.protocol.integer.md) | Line offset of the script within the resource with given URL (for script tags). |
|
|
| [url](./puppeteer.protocol.debugger.scriptfailedtoparseevent.url.md) | string | URL or name of the script parsed (if any). |
|
|
|