| Index: ppapi/tests/test_mouse_lock.cc
|
| diff --git a/ppapi/tests/test_mouse_lock.cc b/ppapi/tests/test_mouse_lock.cc
|
| index 0c4efd4896c30abc69bf3dcb55c5a99dcf42875c..c2b7228198f0321666975c7788bc54c856d0d7ad 100644
|
| --- a/ppapi/tests/test_mouse_lock.cc
|
| +++ b/ppapi/tests/test_mouse_lock.cc
|
| @@ -25,7 +25,6 @@ bool TestMouseLock::Init() {
|
|
|
| void TestMouseLock::RunTests(const std::string& filter) {
|
| RUN_TEST(SucceedWhenAllowed, filter);
|
| - RUN_TEST(FailWhenBlocked, filter);
|
| }
|
|
|
| void TestMouseLock::DidChangeView(const pp::View& view) {
|
| @@ -51,17 +50,6 @@ std::string TestMouseLock::TestSucceedWhenAllowed() {
|
| PASS();
|
| }
|
|
|
| -std::string TestMouseLock::TestFailWhenBlocked() {
|
| - // Content settings are configured to block mouse lock for any site.
|
| - // Please see chrome/test/ppapi/ppapi_interactive_browsertest.cc.
|
| - TestCompletionCallback callback(instance_->pp_instance(), callback_type());
|
| - SimulateUserGesture();
|
| - callback.WaitForResult(LockMouse(callback.GetCallback()));
|
| - ASSERT_NE(PP_OK, callback.result());
|
| -
|
| - PASS();
|
| -}
|
| -
|
| void TestMouseLock::SimulateUserGesture() {
|
| pp::Point mouse_movement;
|
| pp::MouseInputEvent input_event(
|
|
|