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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_apitest.cc

Issue 851813002: Fixed and reenabled the flaky test "WebViewAPITest.TestAutosizeAfterNavigation". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test. Created 5 years, 10 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 | « extensions/browser/guest_view/guest_view_base.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "extensions/browser/guest_view/web_view/web_view_apitest.h" 5 #include "extensions/browser/guest_view/web_view/web_view_apitest.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 } 383 }
384 384
385 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAPIMethodExistence) { 385 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAPIMethodExistence) {
386 RunTest("testAPIMethodExistence", "web_view/apitest"); 386 RunTest("testAPIMethodExistence", "web_view/apitest");
387 } 387 }
388 388
389 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAssignSrcAfterCrash) { 389 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAssignSrcAfterCrash) {
390 RunTest("testAssignSrcAfterCrash", "web_view/apitest"); 390 RunTest("testAssignSrcAfterCrash", "web_view/apitest");
391 } 391 }
392 392
393 IN_PROC_BROWSER_TEST_F(WebViewAPITest, DISABLED_TestAutosizeAfterNavigation) { 393 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAutosizeAfterNavigation) {
394 RunTest("testAutosizeAfterNavigation", "web_view/apitest"); 394 RunTest("testAutosizeAfterNavigation", "web_view/apitest");
395 } 395 }
396 396
397 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAutosizeBeforeNavigation) { 397 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestAutosizeBeforeNavigation) {
398 RunTest("testAutosizeBeforeNavigation", "web_view/apitest"); 398 RunTest("testAutosizeBeforeNavigation", "web_view/apitest");
399 } 399 }
400 400
401 IN_PROC_BROWSER_TEST_F(WebViewDPIAPITest, TestAutosizeBeforeNavigation) { 401 IN_PROC_BROWSER_TEST_F(WebViewDPIAPITest, TestAutosizeBeforeNavigation) {
402 RunTest("testAutosizeBeforeNavigation", "web_view/apitest"); 402 RunTest("testAutosizeBeforeNavigation", "web_view/apitest");
403 } 403 }
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 RunTest("testWebRequestAPIGoogleProperty", "web_view/apitest"); 706 RunTest("testWebRequestAPIGoogleProperty", "web_view/apitest");
707 } 707 }
708 708
709 // This test verifies that webview.contentWindow works inside an iframe 709 // This test verifies that webview.contentWindow works inside an iframe
710 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebViewInsideFrame) { 710 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebViewInsideFrame) {
711 LaunchApp("web_view/inside_iframe"); 711 LaunchApp("web_view/inside_iframe");
712 } 712 }
713 713
714 714
715 } // namespace extensions 715 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/guest_view/guest_view_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698