Readonly
annotationsThe hang annotations which were captured when the hang occured. This attribute is a JS object of key-value pairs.
Readonly
durationThe detected duration of the hang in milliseconds.
Readonly
modulesReturns the modules which were captured by BHR.
This value takes the following form: [ ["fileName", "BreakpadId"], ... ]
Readonly
processThe type of process which produced the hang. This should be either: "default", "content", or "gpu".
Readonly
remoteThe remote type of the content process which produced the hang.
Readonly
runnableThe name of the runnable which hung if it hung on the main thread.
Readonly
stackReturns the stack which was captured by BHR. The offset is encoded as a hex string, as it can contain numbers larger than JS can hold losslessly.
This value takes the following form: [ [moduleIndex, offset], ... ]
Readonly
threadThe name of the thread which hung.
Readonly
wasThe hang was persisted to disk as a permahang, so we can clear the permahang file once we submit this.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Generated using TypeDoc
A scriptable interface for getting information about a BHR detected hang. This is the type of the subject of the "bhr-thread-hang" observer topic.