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

Side by Side Diff: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc

Issue 464243002: Disable WebNavigationApiTest.OpenTab on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <list> 5 #include <list>
6 #include <set> 6 #include <set>
7 7
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, IFrame) { 373 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, IFrame) {
374 ASSERT_TRUE(StartEmbeddedTestServer()); 374 ASSERT_TRUE(StartEmbeddedTestServer());
375 ASSERT_TRUE(RunExtensionTest("webnavigation/iframe")) << message_; 375 ASSERT_TRUE(RunExtensionTest("webnavigation/iframe")) << message_;
376 } 376 }
377 377
378 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, SrcDoc) { 378 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, SrcDoc) {
379 ASSERT_TRUE(StartEmbeddedTestServer()); 379 ASSERT_TRUE(StartEmbeddedTestServer());
380 ASSERT_TRUE(RunExtensionTest("webnavigation/srcdoc")) << message_; 380 ASSERT_TRUE(RunExtensionTest("webnavigation/srcdoc")) << message_;
381 } 381 }
382 382
383 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, OpenTab) { 383 // Crashes on Windows. http://crbug.com/402943
384 #if defined(OS_WIN)
385 #define MAYBE_OpenTab DISABLED_OpenTab
386 #else
387 #define MAYBE_OpenTab OpenTab
388 #endif
389 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, MAYBE_OpenTab) {
384 ASSERT_TRUE(StartEmbeddedTestServer()); 390 ASSERT_TRUE(StartEmbeddedTestServer());
385 ASSERT_TRUE(RunExtensionTest("webnavigation/openTab")) << message_; 391 ASSERT_TRUE(RunExtensionTest("webnavigation/openTab")) << message_;
386 } 392 }
387 393
388 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, ReferenceFragment) { 394 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, ReferenceFragment) {
389 ASSERT_TRUE(StartEmbeddedTestServer()); 395 ASSERT_TRUE(StartEmbeddedTestServer());
390 ASSERT_TRUE(RunExtensionTest("webnavigation/referenceFragment")) 396 ASSERT_TRUE(RunExtensionTest("webnavigation/referenceFragment"))
391 << message_; 397 << message_;
392 } 398 }
393 399
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 "extensions/api_test/webnavigation/crash/b.html", 637 "extensions/api_test/webnavigation/crash/b.html",
632 embedded_test_server()->port())); 638 embedded_test_server()->port()));
633 ui_test_utils::NavigateToURL(browser(), url); 639 ui_test_utils::NavigateToURL(browser(), url);
634 640
635 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 641 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
636 } 642 }
637 643
638 #endif 644 #endif
639 645
640 } // namespace extensions 646 } // 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