Struct xpcom::interfaces::nsIHangReport [] [src]

#[repr(C)]
pub struct nsIHangReport { /* fields omitted */ }

interface nsIHangReport : nsISupports

/**
 * When a content process hangs, Gecko notifies "process-hang-report" observers
 * and passes an nsIHangReport for the subject parameter. There is at most one
 * nsIHangReport associated with a given content process. As long as the content
 * process stays stuck, the "process-hang-report" observer will continue to be
 * notified at regular intervals (approximately once per second). The content
 * process will continue to run uninhibitedly during this time.
 */

Methods

impl nsIHangReport
[src]

[src]

Cast this nsIHangReport to one of its base interfaces.

impl nsIHangReport
[src]

SLOW_SCRIPT: i64 = 1

PLUGIN_HANG: i64 = 2

[src]

readonly attribute unsigned long hangType;

[src]

readonly attribute nsIDOMElement scriptBrowser;

[src]

readonly attribute ACString scriptFileName;

[src]

readonly attribute AString addonId;

[src]

readonly attribute ACString pluginName;

[src]

void userCanceled ();

[src]

void terminateScript ();

[src]

void terminateGlobal ();

[src]

void terminatePlugin ();

[src]

void beginStartingDebugger ();

[src]

void endStartingDebugger ();

[src]

bool isReportForBrowser (in nsIFrameLoader aFrameLoader);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIHangReport
[src]

IID: nsIID = nsID(1607465913, 48738, 18865, [184, 161, 54, 232, 32, 120, 122, 116])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIHangReport
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIHangReport
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.