Code example for JsPromptResult

Methods: confirm

0
            mDialogStrings.append("PROMPT: "); 
            mDialogStrings.append(message); 
            mDialogStrings.append(", default text: "); 
            mDialogStrings.append(defaultValue); 
            mDialogStrings.append('\n'); 
            result.confirm(); 
            return true; 
        } 
    }; 
 
    private void resetTestStatus() { 
        mWaitUntilDone = false;
        mDumpDataType = mDefaultDumpDataType;
        mTimedOut = false;
        mDumpTitleChanges = false;
        mRequestedWebKitData = false;
        mEventSender.resetMouse();
    } 
 
    private WebView mWebView;
    private WebViewEventSender mEventSender;