Skip to content

main/hang-prompt

askAboutHangingPage(window, tabId, contents): Promise<void>

Defined in: app/src/main/hang-prompt.ts:17

Asks whether to wait for a page that stopped responding or to close it. The question goes away by itself when the page responds again or is gone.

BrowserWindowController

The window of the page’s tab.

string

The page’s tab.

WebContents

The page.

Promise<void>