blob: 9aa99d68e1b8c9b46c6a5f3bce845fa7e8ac7f85 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/test/ppapi/ppapi_test.h"
#include "build/build_config.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "content/public/test/browser_test.h"
#include "ppapi/shared_impl/test_utils.h"
// Disable tests under ASAN. http://crbug.com/104832.
// This is a bit heavy handed, but the majority of these tests fail under ASAN.
// See bug for history.
// Flaky on Win/Mac, http://crbug.com/1048148.
#if defined(ADDRESS_SANITIZER) || defined(OS_WIN) || defined(OS_MAC) || \
defined(OS_LINUX) || defined(OS_CHROMEOS)
#define MAYBE_MouseLock_SucceedWhenAllowed DISABLED_MouseLock_SucceedWhenAllowed
#else
#define MAYBE_MouseLock_SucceedWhenAllowed MouseLock_SucceedWhenAllowed
#endif // ADDRESS_SANITIZER
IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest,
MAYBE_MouseLock_SucceedWhenAllowed) {
RunTestViaHTTP("MouseLock_SucceedWhenAllowed");
}
IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, DISABLED_ImeInputEvent) {
RunTest(ppapi::StripTestPrefixes("ImeInputEvent"));
}