summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/browser/loader/resource_dispatcher_host_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/loader/resource_dispatcher_host_unittest.cc b/content/browser/loader/resource_dispatcher_host_unittest.cc
index 25c7783..3ccaffe 100644
--- a/content/browser/loader/resource_dispatcher_host_unittest.cc
+++ b/content/browser/loader/resource_dispatcher_host_unittest.cc
@@ -2603,6 +2603,10 @@ TEST_P(ResourceDispatcherHostTest, CancelRequestsForContextDetached) {
// Test the cancelling of requests that are being transferred to a new renderer
// due to a redirection.
TEST_P(ResourceDispatcherHostTest, CancelRequestsForContextTransferred) {
+ // PlzNavigate: there are no transferred requests in PlzNavigate.
+ if (IsBrowserSideNavigationEnabled())
+ return;
+
EXPECT_EQ(0, host_.pending_requests());
int request_id = 1;