Commit be562635 authored by arthursonzogni's avatar arthursonzogni Committed by Commit Bot

NavigationMojoResponse: Temporarily disable test on Windows.

See https://crbug.com/820959 for more informations.
This CL temporarily disable
BrowserSideNavigationBaseBrowserTest.CancelRequestAfterReadyToCommit on
Windows with NavigationMojoResponse.

Bug: 820959
Change-Id: I2b7f774baf161275834ae969532fa5abef292043
Reviewed-on: https://chromium-review.googlesource.com/958904Reviewed-by: default avatarCamille Lamy <clamy@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543053}
parent 4511b1bf
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include "base/strings/stringprintf.h" #include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h" #include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_feature_list.h" #include "base/test/scoped_feature_list.h"
#include "build/build_config.h"
#include "content/browser/child_process_security_policy_impl.h" #include "content/browser/child_process_security_policy_impl.h"
#include "content/browser/frame_host/navigation_handle_impl.h" #include "content/browser/frame_host/navigation_handle_impl.h"
#include "content/browser/frame_host/navigation_request.h" #include "content/browser/frame_host/navigation_request.h"
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
#include "content/public/browser/notification_types.h" #include "content/public/browser/notification_types.h"
#include "content/public/browser/resource_dispatcher_host_delegate.h" #include "content/public/browser/resource_dispatcher_host_delegate.h"
#include "content/public/browser/web_contents.h" #include "content/public/browser/web_contents.h"
#include "content/public/common/browser_side_navigation_policy.h"
#include "content/public/common/content_features.h" #include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h" #include "content/public/common/content_switches.h"
#include "content/public/common/url_constants.h" #include "content/public/common/url_constants.h"
...@@ -593,6 +595,13 @@ IN_PROC_BROWSER_TEST_F(BrowserSideNavigationBaseBrowserTest, ...@@ -593,6 +595,13 @@ IN_PROC_BROWSER_TEST_F(BrowserSideNavigationBaseBrowserTest,
// properly. // properly.
IN_PROC_BROWSER_TEST_F(BrowserSideNavigationBaseBrowserTest, IN_PROC_BROWSER_TEST_F(BrowserSideNavigationBaseBrowserTest,
CancelRequestAfterReadyToCommit) { CancelRequestAfterReadyToCommit) {
// TODO(https://crbug.com/820959). Test temporarily disabled on Windows with
// NavigationMojoResponse.
#if defined(OS_WIN)
if (IsNavigationMojoResponseEnabled())
return;
#endif
// This test cancels the request using the ResourceDispatchHost. With the // This test cancels the request using the ResourceDispatchHost. With the
// NetworkService, it is not used so the request is not canceled. // NetworkService, it is not used so the request is not canceled.
// TODO(arthursonzogni): Find a way to cancel a request from the browser // TODO(arthursonzogni): Find a way to cancel a request from the browser
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment