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

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

Issue 623193002: Enabling two tests that were disabled in app_shell_browsertests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 } 307 }
308 308
309 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestDialogPrompt) { 309 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestDialogPrompt) {
310 RunTest("testDialogPrompt", "web_view/dialog"); 310 RunTest("testDialogPrompt", "web_view/dialog");
311 } 311 }
312 312
313 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestDisplayNoneWebviewLoad) { 313 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestDisplayNoneWebviewLoad) {
314 RunTest("testDisplayNoneWebviewLoad", "web_view/apitest"); 314 RunTest("testDisplayNoneWebviewLoad", "web_view/apitest");
315 } 315 }
316 316
317 // TODO(lfg): Re-enable this test once the fix for webview leaking 317 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestDisplayNoneWebviewRemoveChild) {
318 // RenderProcessHost has landed. See http://crbug.com/419020 .
319 IN_PROC_BROWSER_TEST_F(WebViewAPITest,
320 DISABLED_TestDisplayNoneWebviewRemoveChild) {
321 RunTest("testDisplayNoneWebviewRemoveChild", "web_view/apitest"); 318 RunTest("testDisplayNoneWebviewRemoveChild", "web_view/apitest");
322 } 319 }
323 320
324 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestEventName) { 321 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestEventName) {
325 RunTest("testEventName", "web_view/apitest"); 322 RunTest("testEventName", "web_view/apitest");
326 } 323 }
327 324
328 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScript) { 325 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScript) {
329 RunTest("testExecuteScript", "web_view/apitest"); 326 RunTest("testExecuteScript", "web_view/apitest");
330 } 327 }
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 } 497 }
501 498
502 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestReloadAfterTerminate) { 499 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestReloadAfterTerminate) {
503 RunTest("testReloadAfterTerminate", "web_view/apitest"); 500 RunTest("testReloadAfterTerminate", "web_view/apitest");
504 } 501 }
505 502
506 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestRemoveSrcAttribute) { 503 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestRemoveSrcAttribute) {
507 RunTest("testRemoveSrcAttribute", "web_view/apitest"); 504 RunTest("testRemoveSrcAttribute", "web_view/apitest");
508 } 505 }
509 506
510 // TODO(lfg): Re-enable this test once the fix for webview leaking 507 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestRemoveWebviewAfterNavigation) {
511 // RenderProcessHost has landed. See http://crbug.com/419020 .
512 IN_PROC_BROWSER_TEST_F(WebViewAPITest,
513 DISABLED_TestRemoveWebviewAfterNavigation) {
514 RunTest("testRemoveWebviewAfterNavigation", "web_view/apitest"); 508 RunTest("testRemoveWebviewAfterNavigation", "web_view/apitest");
515 } 509 }
516 510
517 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestResizeWebviewResizesContent) { 511 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestResizeWebviewResizesContent) {
518 RunTest("testResizeWebviewResizesContent", "web_view/apitest"); 512 RunTest("testResizeWebviewResizesContent", "web_view/apitest");
519 } 513 }
520 514
521 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestTerminateAfterExit) { 515 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestTerminateAfterExit) {
522 RunTest("testTerminateAfterExit", "web_view/apitest"); 516 RunTest("testTerminateAfterExit", "web_view/apitest");
523 } 517 }
(...skipping 14 matching lines...) Expand all
538 // object, on the webview element, and hanging directly off webview. 532 // object, on the webview element, and hanging directly off webview.
539 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIExistence) { 533 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIExistence) {
540 RunTest("testWebRequestAPIExistence", "web_view/apitest"); 534 RunTest("testWebRequestAPIExistence", "web_view/apitest");
541 } 535 }
542 536
543 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIGoogleProperty) { 537 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIGoogleProperty) {
544 RunTest("testWebRequestAPIGoogleProperty", "web_view/apitest"); 538 RunTest("testWebRequestAPIGoogleProperty", "web_view/apitest");
545 } 539 }
546 540
547 } // namespace extensions 541 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698