OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "apps/shell_window.h" | 5 #include "apps/shell_window.h" |
6 #include "apps/shell_window_registry.h" | 6 #include "apps/shell_window_registry.h" |
7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/apps/app_browsertest_util.h" | 9 #include "chrome/browser/apps/app_browsertest_util.h" |
10 #include "chrome/browser/extensions/extension_test_message_listener.h" | 10 #include "chrome/browser/extensions/extension_test_message_listener.h" |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 } | 573 } |
574 | 574 |
575 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, | 575 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, |
576 NewWindow_WebRequestRemoveElement) { | 576 NewWindow_WebRequestRemoveElement) { |
577 TestHelper("testNewWindowWebRequestRemoveElement", | 577 TestHelper("testNewWindowWebRequestRemoveElement", |
578 "DoneNewWindowTest.PASSED", | 578 "DoneNewWindowTest.PASSED", |
579 "DoneNewWindowTest.FAILED", | 579 "DoneNewWindowTest.FAILED", |
580 "web_view/newwindow"); | 580 "web_view/newwindow"); |
581 } | 581 } |
582 | 582 |
583 // A custom elements bug needs to be addressed to enable this test: | |
584 // See http://crbug.com/282477 for more information. | |
585 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, | |
586 DISABLED_NewWindow_WebRequestCloseWindow) { | |
587 TestHelper("testNewWindowWebRequestCloseWindow", | |
588 "DoneNewWindowTest.PASSED", | |
589 "DoneNewWindowTest.FAILED", | |
590 "web_view/newwindow"); | |
591 } | |
592 | |
593 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, ExecuteCode) { | 583 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, ExecuteCode) { |
594 ASSERT_TRUE(StartEmbeddedTestServer()); // For serving guest pages. | 584 ASSERT_TRUE(StartEmbeddedTestServer()); // For serving guest pages. |
595 ASSERT_TRUE(RunPlatformAppTestWithArg( | 585 ASSERT_TRUE(RunPlatformAppTestWithArg( |
596 "platform_apps/web_view/common", "execute_code")) << message_; | 586 "platform_apps/web_view/common", "execute_code")) << message_; |
597 } | 587 } |
598 | 588 |
599 // This test used the old Autofill UI, which has been removed. | 589 // This test used the old Autofill UI, which has been removed. |
600 // See crbug.com/259438 | 590 // See crbug.com/259438 |
601 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, DISABLED_PopupPositioning) { | 591 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, DISABLED_PopupPositioning) { |
602 SetupTest( | 592 SetupTest( |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 ASSERT_TRUE(done_listener.WaitUntilSatisfied()); | 682 ASSERT_TRUE(done_listener.WaitUntilSatisfied()); |
693 } | 683 } |
694 | 684 |
695 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, | 685 IN_PROC_BROWSER_TEST_F(WebViewInteractiveTest, |
696 PointerLock_PointerLockLostWithFocus) { | 686 PointerLock_PointerLockLostWithFocus) { |
697 TestHelper("testPointerLockLostWithFocus", | 687 TestHelper("testPointerLockLostWithFocus", |
698 "DonePointerLockTest.PASSED", | 688 "DonePointerLockTest.PASSED", |
699 "DonePointerLockTest.FAILED", | 689 "DonePointerLockTest.FAILED", |
700 "web_view/pointerlock"); | 690 "web_view/pointerlock"); |
701 } | 691 } |
OLD | NEW |