Lines Matching refs:mAwContents

42     private AwContents mAwContents;  field in ClientOnPageFinishedTest
53 mAwContents = testContainerView.getAwContents(); in setTestAwContentsClient()
65 mActivityTestRule.loadDataAsync(mAwContents, html, "text/html", false); in testPassesCorrectUrl()
119 mActivityTestRule.loadUrlSync(mAwContents, onPageFinishedHelper, invalidUrl); in testCalledAfterError()
129 mAwContents, onPageFinishedHelper, ContentUrlConstants.ABOUT_BLANK_DISPLAY_URL); in testCalledAfterError()
162 mActivityTestRule.loadUrlAsync(mAwContents, redirectUrl); in testCalledAfterRedirectedUrlIsOverridden()
190 mActivityTestRule.loadDataAsync(mAwContents, in testNotCalledForValidSubresources()
200 mActivityTestRule.loadUrlAsync(mAwContents, syncUrl); in testNotCalledForValidSubresources()
218 AwActivityTestRule.enableJavaScriptOnUiThread(mAwContents); in testNotCalledForHistoryApi()
233 mActivityTestRule.loadUrlSync(mAwContents, onPageFinishedHelper, testUrl); in testNotCalledForHistoryApi()
235 mActivityTestRule.executeJavaScriptAndWaitForResult(mAwContents, mContentsClient, in testNotCalledForHistoryApi()
244 mActivityTestRule.loadUrlAsync(mAwContents, syncUrl); in testNotCalledForHistoryApi()
276 AwActivityTestRule.enableJavaScriptOnUiThread(mAwContents); in doTestOnPageFinishedCalledForHrefNavigations()
286 mActivityTestRule.loadDataWithBaseUrlSync(mAwContents, onPageFinishedHelper, in doTestOnPageFinishedCalledForHrefNavigations()
289 mActivityTestRule.loadUrlSync(mAwContents, onPageFinishedHelper, testUrl); in doTestOnPageFinishedCalledForHrefNavigations()
295 JSUtils.clickOnLinkUsingJs(InstrumentationRegistry.getInstrumentation(), mAwContents, in doTestOnPageFinishedCalledForHrefNavigations() local
305 mAwContents, mContentsClient, "window.history.go(-1)"); in doTestOnPageFinishedCalledForHrefNavigations()
330 AwActivityTestRule.enableJavaScriptOnUiThread(mAwContents); in testNotCalledOnDomModificationAfterNonCommittedLoadFromApi()
334 mActivityTestRule.loadUrlAsync(mAwContents, noContentUrl); in testNotCalledOnDomModificationAfterNonCommittedLoadFromApi()
346 AwActivityTestRule.enableJavaScriptOnUiThread(mAwContents); in testNotCalledOnDomModificationWithJavascriptUrlAfterNonCommittedLoadFromApi()
363 mActivityTestRule.loadUrlAsync(mAwContents, url); in testNotCalledOnDomModificationWithJavascriptUrlAfterNonCommittedLoadFromApi()
364 mActivityTestRule.loadUrlAsync(mAwContents, in testNotCalledOnDomModificationWithJavascriptUrlAfterNonCommittedLoadFromApi()
366 mActivityTestRule.stopLoading(mAwContents); in testNotCalledOnDomModificationWithJavascriptUrlAfterNonCommittedLoadFromApi()
380 mActivityTestRule.loadUrlAsync(mAwContents, syncUrl); in testNotCalledOnDomModificationWithJavascriptUrlAfterNonCommittedLoadFromApi()
398 mAwContents, mContentsClient.getOnPageFinishedHelper(), testUrl); in testNotCalledOnDomModificationAfterLoadUrl()
411 mActivityTestRule.loadDataSync(mAwContents, mContentsClient.getOnPageFinishedHelper(), in testNotCalledOnDomModificationAfterLoadData()
421 AwActivityTestRule.enableJavaScriptOnUiThread(mAwContents); in doTestOnPageFinishedNotCalledOnDomMutation()
427 mAwContents, mContentsClient, "document.body.innerHTML='Hello, World!'"); in doTestOnPageFinishedNotCalledOnDomMutation()
434 mActivityTestRule.loadUrlAsync(mAwContents, syncUrl); in doTestOnPageFinishedNotCalledOnDomMutation()
451 mActivityTestRule.loadUrlAsync(mAwContents, url); in testCalledAfter204Reply()
473 mActivityTestRule.loadUrlAsync(mAwContents, url); in testCalledOnEmptyResponse()
505 mActivityTestRule.loadUrlAsync(mAwContents, url); in testCalledOnCancelingProvisionalLoad()
508 mActivityTestRule.stopLoading(mAwContents); in testCalledOnCancelingProvisionalLoad()
516 mActivityTestRule.loadUrlSync(mAwContents, onPageFinishedHelper, syncUrl); in testCalledOnCancelingProvisionalLoad()
556 mActivityTestRule.loadUrlAsync(mAwContents, mainPageUrl); in testCalledOnCancelingCommittedLoad()
562 mActivityTestRule.stopLoading(mAwContents); in testCalledOnCancelingCommittedLoad()
612 mActivityTestRule.loadUrlAsync(mAwContents, redirectUrl); in testMaxRedirect_SXG()
613 mActivityTestRule.waitForVisualStateCallback(mAwContents); in testMaxRedirect_SXG()
614 Assert.assertEquals(webpageNotAvailable, mAwContents.getTitle()); in testMaxRedirect_SXG()