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

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

Issue 237793003: Use default CSP for resource loading in webview (instead of platform app's CSP) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment to added file Created 6 years, 8 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/ui/native_app_window.h" 5 #include "apps/ui/native_app_window.h"
6 #include "base/path_service.h" 6 #include "base/path_service.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/app/chrome_command_ids.h" 9 #include "chrome/app/chrome_command_ids.h"
10 #include "chrome/browser/apps/app_browsertest_util.h" 10 #include "chrome/browser/apps/app_browsertest_util.h"
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 #define MAYBE_Shim_TestChromeExtensionRelativePath \ 718 #define MAYBE_Shim_TestChromeExtensionRelativePath \
719 Shim_TestChromeExtensionRelativePath 719 Shim_TestChromeExtensionRelativePath
720 #endif 720 #endif
721 IN_PROC_BROWSER_TEST_F(WebViewTest, 721 IN_PROC_BROWSER_TEST_F(WebViewTest,
722 MAYBE_Shim_TestChromeExtensionRelativePath) { 722 MAYBE_Shim_TestChromeExtensionRelativePath) {
723 TestHelper("testChromeExtensionRelativePath", 723 TestHelper("testChromeExtensionRelativePath",
724 "web_view/shim", 724 "web_view/shim",
725 NO_TEST_SERVER); 725 NO_TEST_SERVER);
726 } 726 }
727 727
728 IN_PROC_BROWSER_TEST_F(WebViewTest,
729 Shim_TestInlineScriptFromAccessibleResources) {
730 TestHelper("testInlineScriptFromAccessibleResources",
731 "web_view/shim",
732 NO_TEST_SERVER);
733 }
734
728 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestInvalidChromeExtensionURL) { 735 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestInvalidChromeExtensionURL) {
729 TestHelper("testInvalidChromeExtensionURL", "web_view/shim", NO_TEST_SERVER); 736 TestHelper("testInvalidChromeExtensionURL", "web_view/shim", NO_TEST_SERVER);
730 } 737 }
731 738
732 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestEventName) { 739 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestEventName) {
733 TestHelper("testEventName", "web_view/shim", NO_TEST_SERVER); 740 TestHelper("testEventName", "web_view/shim", NO_TEST_SERVER);
734 } 741 }
735 742
736 // WebViewTest.Shim_TestOnEventProperty is flaky, so disable it. 743 // WebViewTest.Shim_TestOnEventProperty is flaky, so disable it.
737 // http://crbug.com/359832. 744 // http://crbug.com/359832.
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after
2006 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestFindAPI_findupdate) { 2013 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestFindAPI_findupdate) {
2007 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER); 2014 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER);
2008 } 2015 }
2009 2016
2010 // <webview> screenshot capture fails with ubercomp. 2017 // <webview> screenshot capture fails with ubercomp.
2011 // See http://crbug.com/327035. 2018 // See http://crbug.com/327035.
2012 IN_PROC_BROWSER_TEST_F(WebViewCaptureTest, 2019 IN_PROC_BROWSER_TEST_F(WebViewCaptureTest,
2013 DISABLED_Shim_ScreenshotCapture) { 2020 DISABLED_Shim_ScreenshotCapture) {
2014 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER); 2021 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER);
2015 } 2022 }
OLDNEW
« no previous file with comments | « apps/shell/browser/shell_extensions_browser_client.cc ('k') | chrome/browser/extensions/chrome_extensions_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698