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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 content::WaitForLoadStop(tab); | 706 content::WaitForLoadStop(tab); |
707 | 707 |
708 ResultCatcher catcher; | 708 ResultCatcher catcher; |
709 | 709 |
710 GURL url(base::StringPrintf( | 710 GURL url(base::StringPrintf( |
711 "http://www.a.com:%d/" | 711 "http://www.a.com:%d/" |
712 "files/extensions/api_test/webnavigation/crash/a.html", | 712 "files/extensions/api_test/webnavigation/crash/a.html", |
713 test_server()->host_port_pair().port())); | 713 test_server()->host_port_pair().port())); |
714 ui_test_utils::NavigateToURL(browser(), url); | 714 ui_test_utils::NavigateToURL(browser(), url); |
715 | 715 |
716 ui_test_utils::NavigateToURL(browser(), GURL(chrome::kChromeUICrashURL)); | 716 ui_test_utils::NavigateToURL(browser(), GURL(content::kChromeUICrashURL)); |
717 | 717 |
718 url = GURL(base::StringPrintf( | 718 url = GURL(base::StringPrintf( |
719 "http://www.a.com:%d/" | 719 "http://www.a.com:%d/" |
720 "files/extensions/api_test/webnavigation/crash/b.html", | 720 "files/extensions/api_test/webnavigation/crash/b.html", |
721 test_server()->host_port_pair().port())); | 721 test_server()->host_port_pair().port())); |
722 ui_test_utils::NavigateToURL(browser(), url); | 722 ui_test_utils::NavigateToURL(browser(), url); |
723 | 723 |
724 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); | 724 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); |
725 } | 725 } |
726 | 726 |
727 } // namespace extensions | 727 } // namespace extensions |
OLD | NEW |