Class AdScriptIdentifier
Identifies the script on the stack that caused a resource or element to be labeled as an ad. For resources, this indicates the context that triggered the fetch. For elements, this indicates the context that caused the element to be appended to the DOM.
public sealed record AdScriptIdentifier : IEquatable<AdScriptIdentifier>
- Inheritance
-
AdScriptIdentifier
- Implements
- Inherited Members
Constructors
AdScriptIdentifier(ScriptId, UniqueDebuggerId, string)
Identifies the script on the stack that caused a resource or element to be labeled as an ad. For resources, this indicates the context that triggered the fetch. For elements, this indicates the context that caused the element to be appended to the DOM.
public AdScriptIdentifier(ScriptId ScriptId, UniqueDebuggerId DebuggerId, string Name)
Parameters
ScriptIdScriptIdThe script's V8 identifier.
DebuggerIdUniqueDebuggerIdV8's debugging ID for the v8::Context.
NamestringThe script's url (or generated name based on id if inline script).
Properties
DebuggerId
V8's debugging ID for the v8::Context.
public UniqueDebuggerId DebuggerId { get; init; }
Property Value
Name
The script's url (or generated name based on id if inline script).
public string Name { get; init; }
Property Value
ScriptId
The script's V8 identifier.
public ScriptId ScriptId { get; init; }