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

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

Issue 610643003: Adds new webview.loadDataWithBaseUrl API to allow data URLs to be loaded with a specified base URL … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment. Created 6 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
« no previous file with comments | « no previous file | chrome/common/extensions/api/webview_tag.json » ('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 "base/path_service.h" 5 #include "base/path_service.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/chrome_content_browser_client.h" 9 #include "chrome/browser/chrome_content_browser_client.h"
10 #include "chrome/browser/prerender/prerender_link_manager.h" 10 #include "chrome/browser/prerender/prerender_link_manager.h"
(...skipping 2242 matching lines...) Expand 10 before | Expand all | Expand 10 after
2253 } 2253 }
2254 2254
2255 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestFindAPI) { 2255 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestFindAPI) {
2256 TestHelper("testFindAPI", "web_view/shim", NO_TEST_SERVER); 2256 TestHelper("testFindAPI", "web_view/shim", NO_TEST_SERVER);
2257 } 2257 }
2258 2258
2259 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestFindAPI_findupdate) { 2259 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestFindAPI_findupdate) {
2260 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER); 2260 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER);
2261 } 2261 }
2262 2262
2263 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestLoadDataAPI) {
2264 TestHelper("testLoadDataAPI", "web_view/shim", NEEDS_TEST_SERVER);
2265 }
2266
2263 // <webview> screenshot capture fails with ubercomp. 2267 // <webview> screenshot capture fails with ubercomp.
2264 // See http://crbug.com/327035. 2268 // See http://crbug.com/327035.
2265 IN_PROC_BROWSER_TEST_F(WebViewCaptureTest, 2269 IN_PROC_BROWSER_TEST_F(WebViewCaptureTest,
2266 DISABLED_Shim_ScreenshotCapture) { 2270 DISABLED_Shim_ScreenshotCapture) {
2267 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER); 2271 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER);
2268 } 2272 }
2269 2273
2270 #if defined(OS_WIN) 2274 #if defined(OS_WIN)
2271 // Test is disabled on Windows because it times out often. 2275 // Test is disabled on Windows because it times out often.
2272 // http://crbug.com/403325 2276 // http://crbug.com/403325
2273 #define MAYBE_WebViewInBackgroundPage \ 2277 #define MAYBE_WebViewInBackgroundPage \
2274 DISABLED_WebViewInBackgroundPage 2278 DISABLED_WebViewInBackgroundPage
2275 #else 2279 #else
2276 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage 2280 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage
2277 #endif 2281 #endif
2278 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) { 2282 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) {
2279 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background")) 2283 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background"))
2280 << message_; 2284 << message_;
2281 } 2285 }
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/api/webview_tag.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698