WebKit2.AuthenticationRequest.prototype.cancel

function cancel(): void {
    // Gjs wrapper for webkit_authentication_request_cancel()
}
  

Cancel the authentication challenge. This will also cancel the page loading and result in a WebKit2.WebView::load-failed signal with a WebKit2.NetworkError of type WebKit2.NetworkError.cancelled being emitted.

Since 2.2