Commit ee11e4e2 authored by Yoichi Osato's avatar Yoichi Osato Committed by Commit Bot

Disable flaky WebContentsMainFrameObserverTest.IgnoresSameDocumentNavigation

TBR=avi@chromium.org

Bug: 1010354
Change-Id: I363d2c2917dbb900390ad1f24093a4c87a696f13
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1835896Reviewed-by: default avatarYoichi Osato <yoichio@chromium.org>
Commit-Queue: Yoichi Osato <yoichio@chromium.org>
Auto-Submit: Yoichi Osato <yoichio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702297}
parent 431f30d7
......@@ -4,6 +4,7 @@
#include "components/dom_distiller/content/browser/web_contents_main_frame_observer.h"
#include "build/build_config.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"
......@@ -65,6 +66,13 @@ TEST_F(WebContentsMainFrameObserverTest, DISABLED_IgnoresChildFrameNavigation) {
EXPECT_FALSE(main_frame_observer_->is_document_loaded_in_main_frame());
}
// Flaky on Win. http://crbug.com/1010354
#if defined(OS_WIN)
#define MAYBE_IgnoresSameDocumentNavigationd \
DISABLED_IgnoresSameDocumentNavigationd
#else
#define MAYBE_IgnoresSameDocumentNavigationd IgnoresSameDocumentNavigationd
#endif
TEST_F(WebContentsMainFrameObserverTest, IgnoresSameDocumentNavigation) {
Navigate(kMainFrame, kSameDocument);
EXPECT_FALSE(main_frame_observer_->is_initialized());
......
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