We have some good coverage in prerender_nostate_prefetch_browsertest.cc. However, we still rely on some coverage from prerender_browsertest.cc. To check against the nostate-prefetch system those tests will likely need to be rewritten: we cannot run checks on an idle renderer in background, instead we would be waiting on network requests.
I scanned prerender_browsertest.cc for cases that seem uncovered and may happen with nostate-prefetch (mostly reasons for canceling). Here is what I found, with related tests that come to mind:
PrerenderPageRemovesPending
PrerenderPageRemovingLink
PrerenderPageRemovingLinkWithTwoLinks
PrerenderPageRemovingLinkWithTwoLinksOneLate
PrerenderPageRemovingLinkWithTwoLinksRemovingOne
// Checks that client redirects don't add alias URLs until after they commit.
PrerenderNoCommitNoSwap2
// Checks plugins (NaCl is still supported) - replace with: NaCl plugin does not
load
// Old:
PrerenderDelayLoadPlugin
PrerenderPluginPowerSaver
MAYBE_PrerenderNaClPluginEnabled
// New:
// * check that plugins are not loaded
// * check that NaCl plugin does not load
PrerenderHttpAuthentication
// New:
// * make sure that JS from iframe does not run. Special case to check:
// the frame is forced to be out of process.
// FINAL_STATUS_DOWNLOAD
PrerenderDownloadIframe
PrerenderReferrer
PrerenderNoSSLReferrer
PrerenderCancelReferrer
PrerenderQuickQuit
OpenTaskManagerBeforePrerender
OpenTaskManagerAfterPrerender
PrerenderHTML5Audio
PrerenderHTML5AudioAutoplay
PrerenderHTML5Video
// New:
// * insert DOM element: <video controls autoplay>
PrerenderPageWithFragment
PrerenderPageWithRedirectedFragment
PrerenderSSLClientCertTopLevel
PrerenderSSLClientCertSubresource
PrerenderSSLClientCertIframe
PrerenderSafeBrowsingServerRedirect
PrerenderSafeBrowsingIframe
PrerenderFavicon
PrerenderClearHistory
PrerenderClearCache
PrerenderReferrerPolicy
PrerenderSSLReferrerPolicy
// NoStatePrefetch has an "unsupported scheme" test, but not with redirects.
PrerenderCancelMainFrameRedirectUnsupportedScheme
Comment 1 by benhenry@google.com
, Jan 11