Commit 0ee23bf9 authored by Takashi Sakamoto's avatar Takashi Sakamoto Committed by Commit Bot

Sheriff: disable SharedWorkerServiceImplTest.WebContentsDestroyed on Fuchsia

Bug: 1029434
Change-Id: Ibf672d2e5ee078e8825371912e4b1fdc82c5a868
Tbr: csharp
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1942752Reviewed-by: default avatarTakashi Sakamoto <tasak@google.com>
Commit-Queue: Takashi Sakamoto <tasak@google.com>
Cr-Commit-Position: refs/heads/master@{#720136}
parent a7f505b8
......@@ -14,6 +14,7 @@
#include "base/macros.h"
#include "base/run_loop.h"
#include "base/scoped_observer.h"
#include "build/build_config.h"
#include "content/browser/site_instance_impl.h"
#include "content/browser/worker_host/mock_shared_worker.h"
#include "content/browser/worker_host/shared_worker_connector_impl.h"
......@@ -291,7 +292,13 @@ TEST_F(SharedWorkerServiceImplTest, BasicTest) {
// Tests that the shared worker will not be started if the hosting web contents
// is destroyed while the script is being fetched.
TEST_F(SharedWorkerServiceImplTest, WebContentsDestroyed) {
// Disabled on Fuchsia because this unittest is flaky.
#if defined(OS_FUCHSIA)
#define MAYBE_WebContentsDestroyed DISABLED_WebContentsDestroyed
#else
#define MAYBE_WebContentsDestroyed WebContentsDestroyed
#endif
TEST_F(SharedWorkerServiceImplTest, MAYBE_WebContentsDestroyed) {
std::unique_ptr<TestWebContents> web_contents =
CreateWebContents(GURL("http://example.com/"));
TestRenderFrameHost* render_frame_host = web_contents->GetMainFrame();
......
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