#include "content/browser/renderer_host/navigation_controller_impl.h"
#include <stdint.h>
#include <utility>
#include <vector>
#include "base/command_line.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/raw_ref.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/ranges/algorithm.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/task/sequenced_task_runner.h"
#include "base/test/bind.h"
#include "base/test/scoped_feature_list.h"
#include "base/threading/thread_restrictions.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "content/browser/child_process_security_policy_impl.h"
#include "content/browser/process_lock.h"
#include "content/browser/renderer_host/frame_navigation_entry.h"
#include "content/browser/renderer_host/frame_tree.h"
#include "content/browser/renderer_host/navigation_entry_impl.h"
#include "content/browser/renderer_host/navigation_entry_restore_context_impl.h"
#include "content/browser/renderer_host/navigation_request.h"
#include "content/browser/renderer_host/navigation_type.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/browser/renderer_host/renderer_cancellation_throttle.h"
#include "content/browser/site_info.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/browser/web_contents/web_contents_view.h"
#include "content/common/content_navigation_policy.h"
#include "content/common/features.h"
#include "content/common/frame.mojom-test-utils.h"
#include "content/common/frame_messages.mojom.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/site_isolation_policy.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_delegate.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/common/bindings_policy.h"
#include "content/public/common/content_client.h"
#include "content/public/common/isolated_world_ids.h"
#include "content/public/common/url_constants.h"
#include "content/public/test/back_forward_cache_util.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_content_browser_client.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/download_test_observer.h"
#include "content/public/test/navigation_handle_observer.h"
#include "content/public/test/test_navigation_observer.h"
#include "content/public/test/test_utils.h"
#include "content/public/test/url_loader_interceptor.h"
#include "content/shell/browser/shell.h"
#include "content/shell/browser/shell_download_manager_delegate.h"
#include "content/shell/common/shell_switches.h"
#include "content/test/content_browser_test_utils_internal.h"
#include "content/test/did_commit_navigation_interceptor.h"
#include "content/test/render_document_feature.h"
#include "mojo/public/cpp/test_support/test_utils.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/controllable_http_response.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "net/test/embedded_test_server/http_request.h"
#include "net/test/url_request/url_request_failed_job.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/blink/public/common/loader/referrer_utils.h"
#include "third_party/blink/public/common/page_state/page_state_serialization.h"
#include "third_party/blink/public/common/renderer_preferences/renderer_preferences.h"
#include "third_party/blink/public/mojom/frame/frame.mojom-test-utils.h"
#include "third_party/blink/public/mojom/frame/user_activation_update_types.mojom.h"
#include "ui/display/display_util.h"
#include "url/url_constants.h"
namespace content {
namespace {
ElementsAre;
HasSubstr;
IsEmpty;
InitialNavigationEntryState;
const char kAddNamedFrameScript[] = …;
const char kRemoveFrameScript[] = …;
const char kAddEmptyFrameScript[] = …;
const char kAddFrameWithSrcScript[] = …;
class DataURLOriginToCommitObserver : public WebContentsObserver { … };
}
class NavigationControllerBrowserTestBase : public ContentBrowserTest { … };
class NavigationControllerBrowserTest
: public NavigationControllerBrowserTestBase,
public ::testing::WithParamInterface<
std::tuple<std::string ,
bool >> { … };
class NavigationControllerBrowserTestNoServer
: public ContentBrowserTest,
public ::testing::WithParamInterface<
std::tuple<std::string ,
bool >> { … };
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, LoadCrossSiteSubframe) { … }
void ExpectReferrerWithDefaultPolicy(FrameNavigationEntry* entry,
const GURL& url) { … }
void ExpectReferrerWithDefaultPolicy(NavigationEntry* entry, const GURL& url) { … }
class LoadDataWithBaseURLWithPossiblyEmptyURLsBrowserTest
: public NavigationControllerBrowserTestBase,
public testing::WithParamInterface<
std::tuple<std::string ,
bool ,
bool ,
bool >> { … };
IN_PROC_BROWSER_TEST_P(LoadDataWithBaseURLWithPossiblyEmptyURLsBrowserTest,
LoadDataWithBaseURLThenReload) { … }
IN_PROC_BROWSER_TEST_P(
LoadDataWithBaseURLWithPossiblyEmptyURLsBrowserTest,
HistoryNavigationWhenLoadDataWithBaseURLWithSameDocumentNavigation) { … }
IN_PROC_BROWSER_TEST_P(LoadDataWithBaseURLWithPossiblyEmptyURLsBrowserTest,
LoadDataWithBaseURLThenRendererInitiatedSameDocument) { … }
IN_PROC_BROWSER_TEST_P(LoadDataWithBaseURLWithPossiblyEmptyURLsBrowserTest,
LoadDataWithBaseURLThenBrowserInitiatedSameDocument) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadDataWithBaseURLThenHistoryNavigationInSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadDataWithBaseURLTitleAfterBack) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
CrossDomainResourceRequestLoadDataWithBaseUrl) { … }
class LoadDataWithBaseURLBrowserTest
: public NavigationControllerBrowserTestBase,
public testing::WithParamInterface<
std::tuple<std::string ,
bool >> { … };
IN_PROC_BROWSER_TEST_P(LoadDataWithBaseURLBrowserTest,
LoadDataWithInvalidBaseURL) { … }
class BlockAllCommitContentBrowserClient
: public ContentBrowserTestContentBrowserClient { … };
IN_PROC_BROWSER_TEST_P(LoadDataWithBaseURLBrowserTest,
LoadDataWithBlockedDataURL) { … }
IN_PROC_BROWSER_TEST_P(LoadDataWithBaseURLBrowserTest,
LoadDataWithBlockedDataURLBlocksNormalLoads) { … }
IN_PROC_BROWSER_TEST_P(LoadDataWithBaseURLBrowserTest,
LoadDataWithBlockedDataURLAndInvalidBaseURL) { … }
IN_PROC_BROWSER_TEST_P(
LoadDataWithBaseURLBrowserTest,
LoadDataWithBaseURLThenJavaScriptURLThenSameDocumentNavigation) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ErrorPageFromLoadDataWithBaseURL) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NavigateFromLoadDataWithBaseURL) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FragmentNavigateFromLoadDataWithBaseURL) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, UniqueIDs) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, UniqueIDsOnFrames) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DontIgnoreBackAfterNavEntryLimit) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DontIgnoreRendererInitiatedBackAfterNavEntryLimit) { … }
namespace {
bool RendererLocationReplace(Shell* shell, const GURL& url) { … }
}
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
CorrectLengthWithCurrentItemReplacement) { … }
#if BUILDFLAG(IS_LINUX) && defined(THREAD_SANITIZER)
#define MAYBE_CorrectLengthWithNewTabNavigatingFromWebUI …
#else
#define MAYBE_CorrectLengthWithNewTabNavigatingFromWebUI …
#endif
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
MAYBE_CorrectLengthWithNewTabNavigatingFromWebUI) { … }
namespace {
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NavigateBackInChildOfLoadDataWithBaseURL) { … }
class LoadCommittedCapturer : public WebContentsObserver { … };
}
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, SubframeOnEmptyPage) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
OriginChangeAfterDocumentWrite) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DocumentOpenFromSibling) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DocumentOpenFromAboutBlank) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DocumentOpenFromSrcdoc) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DocumentOpenFromBloblIframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, RendererURLs) { … }
#if BUILDFLAG(IS_LINUX) && defined(THREAD_SANITIZER)
#define MAYBE_ErrorPageReplacement …
#else
#define MAYBE_ErrorPageReplacement …
#endif
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
MAYBE_ErrorPageReplacement) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ErrorPageReplacementSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NavigationTypeClassification_NewEntry) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NavigationTypeClassification_ExistingEntry) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NavigationTypeClassification_ExistingEntrySameURL) { … }
#if BUILDFLAG(IS_LINUX)
#define MAYBE_NavigationTypeClassification_ExistingEntrySameURL_WebUI …
#else
#define MAYBE_NavigationTypeClassification_ExistingEntrySameURL_WebUI …
#endif
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
MAYBE_NavigationTypeClassification_ExistingEntrySameURL_WebUI) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
NavigationTypeClassification_ExistingEntrySameURLRedirect) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
NavigationTypeClassification_ExistingEntrySameURLWithFragment) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, ReloadWithUrlAnchor) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ReloadWithUrlAnchorAndScroll) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NavigationTypeClassification_EmptyGURL) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RendererInitiatedNavigationToEmptyGURLFails) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NavigationTypeClassification_NewAndAutoSubframe) { … }
class LoadCommittedDetailsObserver : public WebContentsObserver { … };
class InitialEmptyDocNavigationControllerBrowserTest
: public NavigationControllerBrowserTestBase,
public testing::WithParamInterface<
std::tuple<std::string, bool >> { … };
IN_PROC_BROWSER_TEST_P(InitialEmptyDocNavigationControllerBrowserTest,
NavigateNewSubframe) { … }
IN_PROC_BROWSER_TEST_P(InitialEmptyDocNavigationControllerBrowserTest,
NavigateNewWindow) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
InitialEmptyDocumentStatusAfterCrash) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SameDocumentInInitialEmptyDocument) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
InitialNavigationEntryStatus_MainFrame) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
InitialNavigationEntryStatus_SubframeAndRestore) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NavigationTypeClassification_ClientSideRedirect) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadCommittedDetails_IsSameDocument) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_BlankAutoSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_SlowNestedAutoSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DISABLED_PushStatePreservesPendingEntry) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ReplaceStatePreservesPendingEntry) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
DISABLED_FrameNavigationEntry_NoCommitNestedAutoSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_BackNestedAutoSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_BackForwardAcrossSubframeCreation) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_BackForwardAcrossSubframeCreationCrossDocument) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_BackSameDocumentThenNestedBlank) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_RenameNestedAutoSubframe) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_CrossProcessSameDocumentNavigation) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_AutoSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_NewSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_SubframeAfterSameDocument) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_SubframeBackForward) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_RecreatedSubframeBackForward) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_SubframeHistoryFallback) { … }
class DataUrlCommitObserver : public WebContentsObserver { … };
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_DynamicSubframeHistoryFallback) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_RecreatedBlankSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_RecreatedInjectedBlankSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_RecreatedInjectedSrcdocSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_RecreatedSubframeToBlank) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_RemoveRecreatedBlankSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_BackWithRedirect) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_SameOriginBackWithRedirect) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_RestoreViaPageState) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_RestoreViaPartialPageState) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RestoreAndLoadOnUsedNavigationController) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RestoreEmptyAndLoadOnUsedNavigationController) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RestoreEmptyURLEntryAndLoadOnFreshNavigationController) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RestoreAndAddSubframeDuringPendingBack) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_FrameUniqueName) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ReplacedNavigationEntryData_ClientSideRedirect) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ReplacedNavigationEntryData_LocationReplace) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ReplacedNavigationEntryData_ReplaceState) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ReplacedNavigationEntryData_PushState) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ReplacedNavigationEntryData_LocationReload) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
ReplacedNavigationEntryData_BackAfterReplaceStateWithRedirect) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ReplacedNavigationEntryData_Back) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, CloneNamedWindow) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
CloneAndGoBackWithNamedWindow) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
BackSameDocumentInNewWindow) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_RepeatCreatedFrame) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_SequenceNumbers) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_AutoSubFrameRedirectChain) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FrameNavigationEntry_NewSubFrameRedirectChain) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_NormalThenSameDocNavigations) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_SubframeRedirectChain_MainFrameNavigatingSubframe) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_NormalThenSameSiteNavigations) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_NormalThenCrossSiteNavigations) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_CrossOriginClientRedirect_LocationReplace) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_SameOriginThenCrossOriginRedirect_LocationReplace) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_SameOriginThenCrossOriginRedirect_LinkClick) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_CrossOriginThenSameOriginRedirect_LinkClick) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_NormalThenReloads) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_NormalThenReloads_Subframe) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_NormalThenErrorPage) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_ServerRedirectToErrorPage_BrowserInitiated) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_ServerRedirectToErrorPage_RendererInitiated) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ServerRedirectToSameURLErrorPage) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_ClientRedirectThenFragment) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_ClientRedirectSameDocThenFragment) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_ServerThenClientRedirect) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
FrameNavigationEntry_MainFrameRedirectChain_ClientThenServerRedirect) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RestoreWithoutExtraOopifs) { … }
namespace {
void DoReplaceStateWhilePending(Shell* shell,
const GURL& start_url,
const GURL& stalled_url,
const std::string& replace_state_filename) { … }
}
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
NavigationTypeClassification_On1SameDocumentToXWhile2Pending) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
NavigationTypeClassification_On1SameDocumentTo2While2Pending) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
NavigationTypeClassification_On1SameDocumentToXWhile1Pending) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
NavigationTypeClassification_On1SameDocumentTo1While1Pending) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
OtherCommitDuringPendingEntryWithReplacement) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
BackFromPageWithReplaceStateInBeforeUnload) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
PreventSpoofFromSubframeAndReplace) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SubframeBackFromReplaceState) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SubframeBackFromReplaceStateInClonedTab) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SubframeBackFromSubframeLocationReplace) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SubframeBackFromSubframeLocationReplaceAfterCrash) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RestoreSharedFrameEntryWithOpaqueInitiator) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RestoreNonSharedFrameEntryWithCrossOriginInitiator) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RestoreSessionWithInvalidPageState) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
StateAfterSameDocumentReplacement) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
StateAfterCrossDocumentReplacement) { … }
namespace {
class FailureWatcher : public WebContentsObserver { … };
}
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
StopCausesFailureDespiteJavaScriptURL) { … }
namespace {
class RenderProcessKilledObserver : public WebContentsObserver { … };
}
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadOriginalRequestURLSameURL) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadOriginalRequestURLCrossSite) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadOriginalRequestURLCrossOriginSameSite) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadOriginalRequestURLRace) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
InitialAboutBlankInIframeIsReplaced) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
BackToIframeWithContent) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DISABLED_BackTwiceToIframeWithContent) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
BackAfterIframeDocumentWrite) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
BackAfterIframeDocumentWriteInDataURL) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ForwardInSubframeWithPendingForward) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
AbortProvisionalLoadRetainsNavigationParams) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, NavigateTo304) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
PageStateAfterForwardInCompetingFrames) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
DISABLED_PageStateWithIframeAfterForwardInCompetingFrames) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ForwardRedirectWithNoCommittedEntry) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SubframeForwardRedirect) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, PostInSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, PostViaOpenUrlMsg) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, UncacheablePost) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ReloadOfInitiallyFailedPost) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DISABLED_EnsureFrameNavigationEntriesClearedOnMismatch) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
EnsureFirstLevelFrameNavigationEntriesMatch) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
EnsureSameURLNavigationUpdatesFrameNavigationEntry) { … }
class HistoryNavigationBeforeCommitInjector
: public DidCommitNavigationInterceptor { … };
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
RaceCrossOriginNavigationAndSameDocumentHistoryNavigation) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
OnCommitTimeoutAfterResetForCrossDocumentRestart) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTestNoServer,
SameDocumentNavigationRaceWithCrossDocumentNavigation) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RefererAndOriginHeadersAfterRedirects) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ContentTypeHeaderAfterRedirectAndRefresh) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SameDocumentNavigationDoesNotClearFavicon) { … }
namespace {
class NavigationControllerAlertDialogBrowserTest
: public NavigationControllerBrowserTest,
public WebContentsObserver,
public WebContentsDelegate { … };
}
IN_PROC_BROWSER_TEST_P(NavigationControllerAlertDialogBrowserTest,
NoDialogsFromSwappedOutFrames) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RefererStoredForSubFrame) { … }
namespace {
class RequestMonitoringNavigationBrowserTest
: public NavigationControllerBrowserTest { … };
class WebContentsLoadFinishedWaiter : public WebContentsObserver { … };
}
IN_PROC_BROWSER_TEST_P(RequestMonitoringNavigationBrowserTest,
ExtraHeadersVsSubresources) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SameDocumentNavigationDoesntDeleteNavigationHandle) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SameDocumentBrowserInitiated) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, 204Navigation) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, NavigateToEmptyURL) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, StopDuringLoad) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, ReloadDoesntKeepTitle) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
HistoryNavigationUsesCache) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
VerifyBlockedErrorPageURL_SessionHistory) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
JavascriptRedirectSilentlyCanceled) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
PreventSpoofFromBlockedRedirect) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SameDocumentNavAfterJavaScriptURL) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
BrowserInitiatedSameDocumentNavAfterJavaScriptURL) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SameDocumentNavAfterDocumentReplaceChild) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SameDocumentNavAfterXSL) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SameDocumentNavAfterJavaScriptURLOn404Page) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
BackSameDocumentAfterBlockedSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
BackSameDocumentAfter404MainFrame) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
HistoryAPIHistoryNavigation) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
GoBackToManualSubFrame) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
GoBackFromCrossSiteSubFrame) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
HashNavigationVsBeforeUnloadEvent) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
PruningOfEntriesForDynamicFrames_ChildRemoved) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
PruningOfEntriesForDynamicFrames_ParentNavigatedAway) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
PruningOfEntriesForDynamicFrames_MainFrameNavigatedAway) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
UtilizationOfSpareRenderProcessHost) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DataURLSameDocumentNavigation) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
EmptyBody404CommitsErrorPage) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTestNoServer,
EmptyBody500CommitsErrorPage) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NonEmpty404BodyDoesNotCommitErrorPage) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ErrorPageNavigationWithoutNavigationRequestGetsKilled) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadURL_SamePage_DifferentMethod) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadURL_SamePage_DifferentMethod_RendererInitiated) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FormSubmissionToNewTab) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FormSubmitServerRedirect) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
FormSubmitClientRedirect) { … }
class CountRepostFormWarningWebContentsDelegate : public WebContentsDelegate { … };
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ResetPendingLoadTypeWhenCancelPendingReload) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, PostThenReload) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
PostThenReplaceStateThenReload) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
PostThenPushStateThenReloadThenHistory) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
PostThenFragmentNavigationThenReloadThenHistory) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
PostThenBrowserInitiatedFragmentNavigationThenReload) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
PostThenJavaScriptURLThenBrowserInitiatedFragment) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
PostThenJavaScriptURLThenRendererInitiatedFragment) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, PostSubframe) { … }
IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SiteInstanceChangeOnHistoryNavigation) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
NoGestureInheritanceAfterCrossSiteNavigation_BrowserInitiated) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
NoGestureInheritanceAfterCrossSiteNavigation_RendererInitiated) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
NoGestureInheritanceAfterSameSiteNavigation_BrowserInitiated) { … }
IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
NoGestureInheritanceAfterSameSiteNavigation_RendererInitiated) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
GestureChangesAfterSameDocumentNavOnDocumentLoadedWithoutGesture) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
GestureChangesAfterSameDocumentNavOnDocumentLoadedWithGesture) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
DISABLED_HistoryBackTwiceFromRendererWithoutUserGesture) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
HistoryBackTwiceFromRendererWithUserGesture) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
BrowserInitiatedLoadPostCommitErrorPage) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
BrowserInitiatedLoadPostCommitErrorPageForSubframe) { … }#if BUILDFLAG(IS_CHROMEOS)#define MAYBE_BrowserInitiatedLoadPostCommitErrorPageIgnoredForFramePendingDeletion …#else#define MAYBE_BrowserInitiatedLoadPostCommitErrorPageIgnoredForFramePendingDeletion …#endifIN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
MAYBE_BrowserInitiatedLoadPostCommitErrorPageIgnoredForFramePendingDeletion) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
BrowserInitiatedLoadPostCommitErrorPageWithAboutBlankUrl) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadPostCommitErrorPageFromPopupWithoutCommittedEntry) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadPostCommitErrorPageFromFrameWithoutCommittedEntry) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
LoadPostCommitErrorPageFromFrameWithoutCommittedEntryBlockedByCSP) { … }class NavigationStarterBeforeDidCommitNavigation
: public DidCommitNavigationInterceptor { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
MultipleSameDocumentNavigations) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
BackOnBrowserInitiatedErrorPageNavigation) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ReloadOnBrowserInitiatedErrorPageNavigation) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
CloneOnBrowserInitiatedErrorPageNavigation) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTestNoServer,
ClientRedirectAfterSameDocumentNavigation) { … }class SandboxedNavigationControllerBrowserTest
: public NavigationControllerBrowserTest { … }IN_PROC_BROWSER_TEST_P(SandboxedNavigationControllerBrowserTest,
TopLevelNavigationFromSandboxSource) { … }class SandboxedNavigationControllerWithBfcacheBrowserTest
: public NavigationControllerBrowserTest { … }IN_PROC_BROWSER_TEST_P(SandboxedNavigationControllerWithBfcacheBrowserTest,
BackNavigationToCachedPageNotAllowed) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, NavigateSelf) { … }class NavigationControllerMainDocumentSequenceNumberBrowserTest
: public NavigationControllerBrowserTest,
public WebContentsObserver { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerMainDocumentSequenceNumberBrowserTest,
SubframeNavigation) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerMainDocumentSequenceNumberBrowserTest,
SameDocument) { … }class DidCommitNavigationCanceller : public DidCommitNavigationInterceptor { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
CrossProcessIframeToInvalidURLCancelsRedirectSpoof) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
NavigationAbortDuringLongCrossProcessIframeBeforeUnload) { … }std::unique_ptr<net::test_server::HttpResponse> HandleMethodOnly(
net::test_server::HttpMethod method,
const net::test_server::HttpRequest& request) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTestNoServer,
UpdateMethodOn301RedirectError) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTestNoServer,
UpdateMethodOn307RedirectError) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SameDocumentNavigationToHttpPortZero) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NoHistoryOnNavigationToSameUrl) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NoHistoryOnNavigationToSameURLWithFragment) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NoHistoryOnSubframeReload) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
GoBackSameDocumentInRemovedSubframe) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
GoBackCrossDocumentInRemovedSubframe) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
GoForwardCrossDocumentInRemovedSubframe) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RestoreRemovedSubframe) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ReloadSadFrameWithSubframeHistoryNavigation) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SubframeGoesBackAndSiblingHasNoFrameEntry) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadDataWithBaseURLFrameDocumentOpen) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadDataWithBaseURLSameDocumentNavigation) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RendererInitiatedBackToLoadDataWithBaseURL) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
RendererInitiatedBackToLoadDataWithBaseURLDuringRestore) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
HistoryNavigationInNewSubframe) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
HistoryNavigationInNewSubframeRendererInitiated) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, ReloadFrame) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
HistoryNavigationDoesntMoveFrameWithoutCommit) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
OverrideUserAgentThenReload) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
OverrideUserAgentThenSameDocument) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
URLLoadReturnsNavigationHandle) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, FilterAbout) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, WindowReload) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, WindowReloadInIframe) { … }class AllNavigationStateChangedDelegate : public WebContentsDelegate { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RelativeURLInAboutBlankPopup) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NavigationStateChangedForInitialNavigationEntry) { … }class CantGoBackNavigationStateChangedDelegate : public WebContentsDelegate { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
CanGoBackConsistencyForDelegate) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
RestoreRemovesInitialEmptyDocumentOnFreshNavigationController) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
RestoreEmptyAndLoadOnFreshNavigationController) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ResetForTestForcesNewBrowsingInstance) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest, UnloadTiming) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
SameURLNavigationRetainsHistoryState) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
GoForwardAfterInitialHistoryInChildFrame) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
GoBackInMultipleIframesOneFastOneSlow) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DeleteNavigationEntriesFiresNavigationApiDisposeEvent) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NavigationApiTraverseCancelledByRaceCondition) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
NavigationApiBackSameOriginDifferentSiteInstance) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTestNoServer,
RendererInitiatedCancellationDueToJS) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTestNoServer,
RendererInitiatedCancellationDueToCrash) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTestNoServer,
RendererInitiatedCancellationTimeoutWarnsUnresponsiveRenderer) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTestNoServer,
HistoryNavigationToPreviouslySandboxedDocument) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
HistoryNavigationToPreviouslySandboxedDocumentOnIframe) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTestNoServer,
HistoryNavigationToPreviouslyNonSandboxedDocument) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
HistoryNavigationToPreviouslyNonSandboxedDocumentOnIframe) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
DeleteSpeculativeRenderFrameHostDueToNavigationCancellation_MainFrame) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
DeleteSpeculativeRenderFrameHostDueToNavigationCancellation_Subframe) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
DeleteSpeculativeRenderFrameHostDueToFrameDeletion_MainFrame) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
DeleteSpeculativeRenderFrameHostDueToFrameDeletion_Subframe) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
StartNewNavigationWithExistingNavigation_RequestStart) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
StartNewNavigationWithExistingNavigation_RequestStart_History) { … }void StartNavigationOnReadyToCommit(
Shell* shell,
TestNavigationManager& prev_navigation_manager,
GURL& new_navigation_url) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
StartNewNavigationWithExistingNavigation_ReadyToCommit) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
ResetNavigationRequestWontDeletePendingCommitRFH) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
UnloadingPreviousRFHOnCommitWontCancelNavigation) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
BFCacheRestoreDeferredWhenPendingCommitRFHExists) { … }IN_PROC_BROWSER_TEST_P(
NavigationControllerBrowserTest,
BFCacheRestoreDeferredAndEvictedWhenPendingCommitRFHExists) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
WebUICreatedForQueuedNavigation) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DataURLHasCommittedOrigin) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
LoadPostCommitErrorPageSandboxedTopLevel) { … }IN_PROC_BROWSER_TEST_P(NavigationControllerBrowserTest,
DocumentWriteAfterNavigatingToAboutBlank) { … }INSTANTIATE_TEST_SUITE_P(…)INSTANTIATE_TEST_SUITE_P(…)INSTANTIATE_TEST_SUITE_P(…)INSTANTIATE_TEST_SUITE_P(…)INSTANTIATE_TEST_SUITE_P(…)INSTANTIATE_TEST_SUITE_P(…)INSTANTIATE_TEST_SUITE_P(…)INSTANTIATE_TEST_SUITE_P(…)INSTANTIATE_TEST_SUITE_P(…)INSTANTIATE_TEST_SUITE_P(…)