chromium/content/browser/accessibility/accessibility_ipc_error_browsertest.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <stddef.h>

#include "build/build_config.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/test/accessibility_notification_waiter.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/shell/browser/shell.h"
#include "ui/accessibility/ax_common.h"
#include "ui/accessibility/ax_node.h"
#include "ui/accessibility/ax_tree.h"
#include "ui/accessibility/ax_updates_and_events.h"

namespace content {

class AccessibilityIpcErrorBrowserTest : public ContentBrowserTest {};

// Failed on Android x86 in crbug.com/1123641.
// Do not test on AX_FAIL_FAST_BUILDS, where the BAD IPC will simply assert.
#if (BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_X86)) || \
    defined(AX_FAIL_FAST_BUILD)
#define MAYBE_UnrecoverableAccessibilityErrorDisallowReenabling
#else
#define MAYBE_UnrecoverableAccessibilityErrorDisallowReenabling
#endif
IN_PROC_BROWSER_TEST_F(
    AccessibilityIpcErrorBrowserTest,
    MAYBE_UnrecoverableAccessibilityErrorDisallowReenabling) {}

}  // namespace content