Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1427)

Unified Diff: content/browser/security_exploit_browsertest.cc

Issue 1816563002: PlzNavigate: fix SecurityExploitBrowserTest.MismatchedOriginOnCommit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/security_exploit_browsertest.cc
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc
index 6adbafeff6184ff222e7f4a611f5de1836209983..45117a39d96ff5c53734a1e636c41edf7f314f7c 100644
--- a/content/browser/security_exploit_browsertest.cc
+++ b/content/browser/security_exploit_browsertest.cc
@@ -554,6 +554,7 @@ IN_PROC_BROWSER_TEST_F(SecurityExploitBrowserTest, MismatchedOriginOnCommit) {
exit_observer.Wait();
EXPECT_FALSE(exit_observer.did_exit_normally());
+ ResourceDispatcherHost::Get()->SetDelegate(nullptr);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698