Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: chrome/browser/apps/web_view_browsertest.cc

Issue 23514016: <webview>: Cleanup WebRequest event listeners when embedder destroyed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More fixes Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/native_app_window.h" 5 #include "apps/native_app_window.h"
6 #include "base/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/apps/app_browsertest_util.h" 8 #include "chrome/browser/apps/app_browsertest_util.h"
9 #include "chrome/browser/automation/automation_util.h" 9 #include "chrome/browser/automation/automation_util.h"
10 #include "chrome/browser/extensions/extension_test_message_listener.h" 10 #include "chrome/browser/extensions/extension_test_message_listener.h"
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 "web_view/shim"); 789 "web_view/shim");
790 } 790 }
791 791
792 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIGoogleProperty) { 792 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIGoogleProperty) {
793 TestHelper("testWebRequestAPIGoogleProperty", 793 TestHelper("testWebRequestAPIGoogleProperty",
794 "DoneShimTest.PASSED", 794 "DoneShimTest.PASSED",
795 "DoneShimTest.FAILED", 795 "DoneShimTest.FAILED",
796 "web_view/shim"); 796 "web_view/shim");
797 } 797 }
798 798
799 IN_PROC_BROWSER_TEST_F(WebViewTest,
800 Shim_TestWebRequestListenerSurvivesReparenting) {
801 TestHelper("testWebRequestListenerSurvivesReparenting",
802 "DoneShimTest.PASSED",
803 "DoneShimTest.FAILED",
804 "web_view/shim");
805 }
806
799 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadStartLoadRedirect) { 807 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadStartLoadRedirect) {
800 TestHelper("testLoadStartLoadRedirect", 808 TestHelper("testLoadStartLoadRedirect",
801 "DoneShimTest.PASSED", 809 "DoneShimTest.PASSED",
802 "DoneShimTest.FAILED", 810 "DoneShimTest.FAILED",
803 "web_view/shim"); 811 "web_view/shim");
804 } 812 }
805 813
806 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadAbortEmptyResponse) { 814 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadAbortEmptyResponse) {
807 TestHelper("testLoadAbortEmptyResponse", 815 TestHelper("testLoadAbortEmptyResponse",
808 "DoneShimTest.PASSED", 816 "DoneShimTest.PASSED",
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 "DoneDialogTest.FAILED", 1686 "DoneDialogTest.FAILED",
1679 "web_view/dialog"); 1687 "web_view/dialog");
1680 } 1688 }
1681 1689
1682 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestPromptDialog) { 1690 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestPromptDialog) {
1683 TestHelper("testPromptDialog", 1691 TestHelper("testPromptDialog",
1684 "DoneDialogTest.PASSED", 1692 "DoneDialogTest.PASSED",
1685 "DoneDialogTest.FAILED", 1693 "DoneDialogTest.FAILED",
1686 "web_view/dialog"); 1694 "web_view/dialog");
1687 } 1695 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698