| Index: chrome/browser/renderer_host/resource_dispatcher_host_uitest.cc
|
| ===================================================================
|
| --- chrome/browser/renderer_host/resource_dispatcher_host_uitest.cc (revision 19956)
|
| +++ chrome/browser/renderer_host/resource_dispatcher_host_uitest.cc (working copy)
|
| @@ -91,6 +91,7 @@
|
| scoped_refptr<BrowserProxy> browser_proxy(automation()->GetBrowserWindow(0));
|
| EXPECT_TRUE(browser_proxy.get());
|
| scoped_refptr<TabProxy> tab(browser_proxy->GetActiveTab());
|
| + ASSERT_TRUE(tab.get());
|
| tab->NavigateToURL(server->TestServerPageW(
|
| L"files/sync_xmlhttprequest.html"));
|
|
|
| @@ -111,6 +112,7 @@
|
| scoped_refptr<BrowserProxy> browser_proxy(automation()->GetBrowserWindow(0));
|
| EXPECT_TRUE(browser_proxy.get());
|
| scoped_refptr<TabProxy> tab(browser_proxy->GetActiveTab());
|
| + ASSERT_TRUE(tab.get());
|
| tab->NavigateToURL(server->TestServerPageW(
|
| L"files/sync_xmlhttprequest_disallowed.html"));
|
|
|
| @@ -134,6 +136,7 @@
|
| scoped_refptr<BrowserProxy> browser_proxy(automation()->GetBrowserWindow(0));
|
| EXPECT_TRUE(browser_proxy.get());
|
| scoped_refptr<TabProxy> tab(browser_proxy->GetActiveTab());
|
| + ASSERT_TRUE(tab.get());
|
|
|
| tab->NavigateToURL(
|
| server->TestServerPageW(L"files/sync_xmlhttprequest_during_unload.html"));
|
| @@ -171,6 +174,7 @@
|
| scoped_refptr<BrowserProxy> browser_proxy(automation()->GetBrowserWindow(0));
|
| EXPECT_TRUE(browser_proxy.get());
|
| scoped_refptr<TabProxy> tab(browser_proxy->GetActiveTab());
|
| + ASSERT_TRUE(tab.get());
|
|
|
| GURL url(server->TestServerPageW(L"files/onunload_cookie.html"));
|
| tab->NavigateToURL(url);
|
| @@ -209,6 +213,7 @@
|
| scoped_refptr<BrowserProxy> browser_proxy(automation()->GetBrowserWindow(0));
|
| EXPECT_TRUE(browser_proxy.get());
|
| scoped_refptr<TabProxy> tab(browser_proxy->GetActiveTab());
|
| + ASSERT_TRUE(tab.get());
|
|
|
| // Cause the renderer to crash.
|
| // TODO(albertb): We need to disable this on Linux since
|
| @@ -233,6 +238,7 @@
|
| scoped_refptr<BrowserProxy> browser_proxy(automation()->GetBrowserWindow(0));
|
| EXPECT_TRUE(browser_proxy.get());
|
| scoped_refptr<TabProxy> tab(browser_proxy->GetActiveTab());
|
| + ASSERT_TRUE(tab.get());
|
|
|
| // Start with an HTTP page.
|
| CheckTitleTest(L"content-sniffer-test0.html",
|
| @@ -262,6 +268,7 @@
|
| scoped_refptr<BrowserProxy> browser_proxy(automation()->GetBrowserWindow(0));
|
| EXPECT_TRUE(browser_proxy.get());
|
| scoped_refptr<TabProxy> tab(browser_proxy->GetActiveTab());
|
| + ASSERT_TRUE(tab.get());
|
|
|
| GURL url(server->TestServerPageW(L"files/onunload_cookie.html"));
|
| tab->NavigateToURL(url);
|
|
|