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

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

Issue 22793018: <webview>: Implement support for package-local chrome-extension:// URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 7 years, 2 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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 663
664 // Tests the existence of WebRequest API event objects on the request 664 // Tests the existence of WebRequest API event objects on the request
665 // object, on the webview element, and hanging directly off webview. 665 // object, on the webview element, and hanging directly off webview.
666 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIExistence) { 666 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIExistence) {
667 TestHelper("testWebRequestAPIExistence", 667 TestHelper("testWebRequestAPIExistence",
668 "DoneShimTest.PASSED", 668 "DoneShimTest.PASSED",
669 "DoneShimTest.FAILED", 669 "DoneShimTest.FAILED",
670 "web_view/shim"); 670 "web_view/shim");
671 } 671 }
672 672
673 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestChromeExtensionURL) {
674 TestHelper("testChromeExtensionURL",
675 "DoneShimTest.PASSED",
676 "DoneShimTest.FAILED",
677 "web_view/shim");
678 }
679
673 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestEventName) { 680 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestEventName) {
674 TestHelper("testEventName", 681 TestHelper("testEventName",
675 "DoneShimTest.PASSED", 682 "DoneShimTest.PASSED",
676 "DoneShimTest.FAILED", 683 "DoneShimTest.FAILED",
677 "web_view/shim"); 684 "web_view/shim");
678 } 685 }
679 686
680 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestOnEventProperty) { 687 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestOnEventProperty) {
681 TestHelper("testOnEventProperties", 688 TestHelper("testOnEventProperties",
682 "DoneShimTest.PASSED", 689 "DoneShimTest.PASSED",
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 "web_view/shim"); 860 "web_view/shim");
854 } 861 }
855 862
856 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadStartLoadRedirect) { 863 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadStartLoadRedirect) {
857 TestHelper("testLoadStartLoadRedirect", 864 TestHelper("testLoadStartLoadRedirect",
858 "DoneShimTest.PASSED", 865 "DoneShimTest.PASSED",
859 "DoneShimTest.FAILED", 866 "DoneShimTest.FAILED",
860 "web_view/shim"); 867 "web_view/shim");
861 } 868 }
862 869
870 IN_PROC_BROWSER_TEST_F(WebViewTest,
871 Shim_TestLoadAbortChromeExtensionURLWrongPartition) {
872 TestHelper("testLoadAbortChromeExtensionURLWrongPartition",
873 "DoneShimTest.PASSED",
874 "DoneShimTest.FAILED",
875 "web_view/shim");
876 }
877
863 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadAbortEmptyResponse) { 878 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadAbortEmptyResponse) {
864 TestHelper("testLoadAbortEmptyResponse", 879 TestHelper("testLoadAbortEmptyResponse",
865 "DoneShimTest.PASSED", 880 "DoneShimTest.PASSED",
866 "DoneShimTest.FAILED", 881 "DoneShimTest.FAILED",
867 "web_view/shim"); 882 "web_view/shim");
868 } 883 }
869 884
870 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadAbortIllegalChromeURL) { 885 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadAbortIllegalChromeURL) {
871 TestHelper("testLoadAbortIllegalChromeURL", 886 TestHelper("testLoadAbortIllegalChromeURL",
872 "DoneShimTest.PASSED", 887 "DoneShimTest.PASSED",
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
1776 "DoneDialogTest.FAILED", 1791 "DoneDialogTest.FAILED",
1777 "web_view/dialog"); 1792 "web_view/dialog");
1778 } 1793 }
1779 1794
1780 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestPromptDialog) { 1795 IN_PROC_BROWSER_TEST_F(WebViewTest, Dialog_TestPromptDialog) {
1781 TestHelper("testPromptDialog", 1796 TestHelper("testPromptDialog",
1782 "DoneDialogTest.PASSED", 1797 "DoneDialogTest.PASSED",
1783 "DoneDialogTest.FAILED", 1798 "DoneDialogTest.FAILED",
1784 "web_view/dialog"); 1799 "web_view/dialog");
1785 } 1800 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_protocols.cc » ('j') | chrome/common/extensions/api/_manifest_features.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698