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

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: Fixed WebRequest unit test 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
« no previous file with comments | « no previous file | chrome/browser/apps/web_view_interactive_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 "web_view/shim"); 798 "web_view/shim");
799 } 799 }
800 800
801 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIGoogleProperty) { 801 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIGoogleProperty) {
802 TestHelper("testWebRequestAPIGoogleProperty", 802 TestHelper("testWebRequestAPIGoogleProperty",
803 "DoneShimTest.PASSED", 803 "DoneShimTest.PASSED",
804 "DoneShimTest.FAILED", 804 "DoneShimTest.FAILED",
805 "web_view/shim"); 805 "web_view/shim");
806 } 806 }
807 807
808 IN_PROC_BROWSER_TEST_F(WebViewTest,
809 Shim_TestWebRequestListenerSurvivesReparenting) {
810 TestHelper("testWebRequestListenerSurvivesReparenting",
811 "DoneShimTest.PASSED",
812 "DoneShimTest.FAILED",
813 "web_view/shim");
814 }
815
808 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadStartLoadRedirect) { 816 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadStartLoadRedirect) {
809 TestHelper("testLoadStartLoadRedirect", 817 TestHelper("testLoadStartLoadRedirect",
810 "DoneShimTest.PASSED", 818 "DoneShimTest.PASSED",
811 "DoneShimTest.FAILED", 819 "DoneShimTest.FAILED",
812 "web_view/shim"); 820 "web_view/shim");
813 } 821 }
814 822
815 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadAbortEmptyResponse) { 823 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadAbortEmptyResponse) {
816 TestHelper("testLoadAbortEmptyResponse", 824 TestHelper("testLoadAbortEmptyResponse",
817 "DoneShimTest.PASSED", 825 "DoneShimTest.PASSED",
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
1693 "DoneDialogTest.FAILED", 1701 "DoneDialogTest.FAILED",
1694 "web_view/dialog"); 1702 "web_view/dialog");
1695 } 1703 }
1696 1704
1697 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestPromptDialog) { 1705 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestPromptDialog) {
1698 TestHelper("testPromptDialog", 1706 TestHelper("testPromptDialog",
1699 "DoneDialogTest.PASSED", 1707 "DoneDialogTest.PASSED",
1700 "DoneDialogTest.FAILED", 1708 "DoneDialogTest.FAILED",
1701 "web_view/dialog"); 1709 "web_view/dialog");
1702 } 1710 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/apps/web_view_interactive_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698