Home | History | Annotate | Download | only in tests

Lines Matching refs:tab

78 // Test that scripts can fork a new renderer process for a tab in a particular
80 // tab, set its window.opener to null, and redirect it to a cross-site URL.
97 scoped_refptr<TabProxy> tab(window->GetActiveTab());
98 ASSERT_TRUE(tab.get());
102 tab->NavigateToURL(net::FilePathToFileURL(test_file));
109 // Use JavaScript URL to "fork" a new tab, just like Gmail. (Open tab to a
115 // Make sure that a new tab has been created and that we have a new renderer
117 ASSERT_TRUE(tab->NavigateToURLAsync(fork_url));
151 scoped_refptr<TabProxy> tab(window->GetActiveTab());
152 ASSERT_TRUE(tab.get());
157 tab->NavigateToURL(net::FilePathToFileURL(test_file)));
164 // Use JavaScript URL to almost fork a new tab, but not quite. (Leave the
172 // Make sure that a new tab but not new process has been created.
173 ASSERT_TRUE(tab->NavigateToURLAsync(dont_fork_url));
182 // Same thing if the current tab tries to redirect itself.
190 ASSERT_TRUE(tab->NavigateToURLAsync(dont_fork_url2));
226 scoped_refptr<TabProxy> tab = browser->GetActiveTab();
227 ASSERT_TRUE(tab.get());
229 ASSERT_TRUE(tab->GetTabTitle(&title));
237 scoped_refptr<TabProxy> tab(GetActiveTab());
238 ASSERT_TRUE(tab.get());
244 ASSERT_TRUE(tab->NavigateToURL(url));
246 std::string value = WaitUntilCookieNonEmpty(tab.get(), url,