Class ScriptFailedToParseEventArgs
Fired when virtual machine fails to parse the script.
public sealed class ScriptFailedToParseEventArgs : EventArgs
- Inheritance
-
ScriptFailedToParseEventArgs
- Inherited Members
Properties
BuildId
For Wasm modules, the content of the build_id custom section. For JavaScript the debugId magic comment.
[JsonPropertyName("buildId")]
public string BuildId { get; set; }
Property Value
CodeOffset
If the scriptLanguage is WebAssembly, the code section offset in the module.
[JsonPropertyName("codeOffset")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? CodeOffset { get; set; }
Property Value
- long?
EmbedderName
The name the embedder supplied for this script.
[JsonPropertyName("embedderName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? EmbedderName { get; set; }
Property Value
EndColumn
Length of the last line of the script.
[JsonPropertyName("endColumn")]
public long EndColumn { get; set; }
Property Value
EndLine
Last line of the script.
[JsonPropertyName("endLine")]
public long EndLine { get; set; }
Property Value
ExecutionContextAuxData
Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
[JsonPropertyName("executionContextAuxData")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public object? ExecutionContextAuxData { get; set; }
Property Value
ExecutionContextId
Specifies script creation context.
[JsonPropertyName("executionContextId")]
public long ExecutionContextId { get; set; }
Property Value
HasSourceURL
True, if this script has sourceURL.
[JsonPropertyName("hasSourceURL")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? HasSourceURL { get; set; }
Property Value
- bool?
Hash
Content hash of the script, SHA-256.
[JsonPropertyName("hash")]
public string Hash { get; set; }
Property Value
IsModule
True, if this script is ES6 module.
[JsonPropertyName("isModule")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? IsModule { get; set; }
Property Value
- bool?
Length
This script length.
[JsonPropertyName("length")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Length { get; set; }
Property Value
- long?
ScriptId
Identifier of the script parsed.
[JsonPropertyName("scriptId")]
public string ScriptId { get; set; }
Property Value
ScriptLanguage
The language of the script.
[JsonPropertyName("scriptLanguage")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ScriptLanguage? ScriptLanguage { get; set; }
Property Value
SourceMapURL
URL of source map associated with script (if any).
[JsonPropertyName("sourceMapURL")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? SourceMapURL { get; set; }
Property Value
StackTrace
JavaScript top stack frame of where the script parsed event was triggered if available.
[JsonPropertyName("stackTrace")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public StackTrace? StackTrace { get; set; }
Property Value
StartColumn
Column offset of the script within the resource with given URL.
[JsonPropertyName("startColumn")]
public long StartColumn { get; set; }
Property Value
StartLine
Line offset of the script within the resource with given URL (for script tags).
[JsonPropertyName("startLine")]
public long StartLine { get; set; }
Property Value
Url
URL or name of the script parsed (if any).
[JsonPropertyName("url")]
public string Url { get; set; }