Commit cb7f6c5d authored by Rune Lillesveen's avatar Rune Lillesveen Committed by Commit Bot

Disable whole Flash suite which is flaky on Windows.

TBR=tommycli@chromium.org,myid.shin@igalia.com

Bug: 1081782
Change-Id: Id1a1ee0177c6c8e671877faac8b2dfd4616d66b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2205936Reviewed-by: default avatarRune Lillesveen <futhark@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769641}
parent 63680fae
......@@ -7,6 +7,7 @@
#include "base/path_service.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "build/build_config.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/permissions/permissions_browsertest.h"
#include "chrome/browser/profiles/profile.h"
......@@ -47,6 +48,8 @@ class PageReloadWaiter {
} // namespace
// crbug.com/1081782
#if !defined(OS_WIN)
class FlashPermissionBrowserTest : public PermissionsBrowserTest {
public:
FlashPermissionBrowserTest()
......@@ -222,7 +225,7 @@ IN_PROC_BROWSER_TEST_F(FlashPermissionBrowserTest,
EXPECT_EQ(1, prompt_factory()->TotalRequestCount());
}
IN_PROC_BROWSER_TEST_F(FlashPermissionBrowserTest, AllowFileURL) {
IN_PROC_BROWSER_TEST_F(FlashPermissionBrowserTest, DISABLED_AllowFileURL) {
base::FilePath test_path;
base::PathService::Get(chrome::DIR_TEST_DATA, &test_path);
ui_test_utils::NavigateToURL(
......@@ -237,7 +240,7 @@ IN_PROC_BROWSER_TEST_F(FlashPermissionBrowserTest, AllowFileURL) {
EXPECT_TRUE(FeatureUsageSucceeds());
}
IN_PROC_BROWSER_TEST_F(FlashPermissionBrowserTest, BlockFileURL) {
IN_PROC_BROWSER_TEST_F(FlashPermissionBrowserTest, DISABLED_BlockFileURL) {
base::FilePath test_path;
base::PathService::Get(chrome::DIR_TEST_DATA, &test_path);
ui_test_utils::NavigateToURL(
......@@ -251,3 +254,5 @@ IN_PROC_BROWSER_TEST_F(FlashPermissionBrowserTest, BlockFileURL) {
GURL("file://" + test_path.AsUTF8Unsafe() + "/permissions/flash2.html"));
EXPECT_FALSE(FeatureUsageSucceeds());
}
#endif // !defined(OS_WIN)
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