OLD | NEW |
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/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 ASSERT_TRUE( | 437 ASSERT_TRUE( |
438 RunExtensionSubtest("webnavigation", "test_forwardBack.html")) | 438 RunExtensionSubtest("webnavigation", "test_forwardBack.html")) |
439 << message_; | 439 << message_; |
440 } | 440 } |
441 | 441 |
442 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, IFrame) { | 442 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, IFrame) { |
443 ASSERT_TRUE( | 443 ASSERT_TRUE( |
444 RunExtensionSubtest("webnavigation", "test_iframe.html")) << message_; | 444 RunExtensionSubtest("webnavigation", "test_iframe.html")) << message_; |
445 } | 445 } |
446 | 446 |
| 447 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, SrcDoc) { |
| 448 ASSERT_TRUE( |
| 449 RunExtensionSubtest("webnavigation", "test_srcdoc.html")) << message_; |
| 450 } |
| 451 |
447 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, OpenTab) { | 452 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, OpenTab) { |
448 ASSERT_TRUE( | 453 ASSERT_TRUE( |
449 RunExtensionSubtest("webnavigation", "test_openTab.html")) << message_; | 454 RunExtensionSubtest("webnavigation", "test_openTab.html")) << message_; |
450 } | 455 } |
451 | 456 |
452 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, ReferenceFragment) { | 457 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, ReferenceFragment) { |
453 ASSERT_TRUE( | 458 ASSERT_TRUE( |
454 RunExtensionSubtest("webnavigation", "test_referenceFragment.html")) | 459 RunExtensionSubtest("webnavigation", "test_referenceFragment.html")) |
455 << message_; | 460 << message_; |
456 } | 461 } |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 test_server()->GetURL("test6"), | 688 test_server()->GetURL("test6"), |
684 "updateHistory()", | 689 "updateHistory()", |
685 extension->GetResourceURL("crossProcess/empty.html")); | 690 extension->GetResourceURL("crossProcess/empty.html")); |
686 | 691 |
687 ASSERT_TRUE(RunPageTest( | 692 ASSERT_TRUE(RunPageTest( |
688 extension->GetResourceURL("test_crossProcessHistory.html").spec())) | 693 extension->GetResourceURL("test_crossProcessHistory.html").spec())) |
689 << message_; | 694 << message_; |
690 } | 695 } |
691 | 696 |
692 } // namespace extensions | 697 } // namespace extensions |
OLD | NEW |