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

Side by Side Diff: chrome/browser/autofill/autofill_interactive_uitest.cc

Issue 2810913004: Disable AutofillInteractiveIsolationTest.SimpleCrossSiteFill on Windows. (Closed)
Patch Set: Use MAYBE_ and DISABLED_ prefix instead of _MAYBE and _DISABLED suffix. Created 3 years, 8 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
« 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 <string> 5 #include <string>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 1758 matching lines...) Expand 10 before | Expand all | Expand 10 after
1769 } 1769 }
1770 1770
1771 private: 1771 private:
1772 void SetUpCommandLine(base::CommandLine* command_line) override { 1772 void SetUpCommandLine(base::CommandLine* command_line) override {
1773 AutofillInteractiveTest::SetUpCommandLine(command_line); 1773 AutofillInteractiveTest::SetUpCommandLine(command_line);
1774 // Append --site-per-process flag. 1774 // Append --site-per-process flag.
1775 content::IsolateAllSitesForTesting(command_line); 1775 content::IsolateAllSitesForTesting(command_line);
1776 } 1776 }
1777 }; 1777 };
1778 1778
1779 IN_PROC_BROWSER_TEST_F(AutofillInteractiveIsolationTest, SimpleCrossSiteFill) { 1779 #if defined(OS_WIN)
1780 // Flaky on Windows 7 in debug build. http://crbug.com/710436
1781 #define MAYBE_SimpleCrossSiteFill DISABLED_SimpleCrossSiteFill
1782 #else
1783 #define MAYBE_SimpleCrossSiteFill SimpleCrossSiteFill
1784 #endif
1785 IN_PROC_BROWSER_TEST_F(AutofillInteractiveIsolationTest,
1786 MAYBE_SimpleCrossSiteFill) {
1780 // Ensure that |embedded_test_server()| serves both domains used below. 1787 // Ensure that |embedded_test_server()| serves both domains used below.
1781 host_resolver()->AddRule("*", "127.0.0.1"); 1788 host_resolver()->AddRule("*", "127.0.0.1");
1782 1789
1783 CreateTestProfile(); 1790 CreateTestProfile();
1784 1791
1785 // Main frame is on a.com, iframe is on b.com. 1792 // Main frame is on a.com, iframe is on b.com.
1786 GURL url = embedded_test_server()->GetURL( 1793 GURL url = embedded_test_server()->GetURL(
1787 "a.com", "/autofill/cross_origin_iframe.html"); 1794 "a.com", "/autofill/cross_origin_iframe.html");
1788 ui_test_utils::NavigateToURL(browser(), url); 1795 ui_test_utils::NavigateToURL(browser(), url);
1789 GURL iframe_url = embedded_test_server()->GetURL( 1796 GURL iframe_url = embedded_test_server()->GetURL(
(...skipping 25 matching lines...) Expand all
1815 std::string value; 1822 std::string value;
1816 ASSERT_TRUE(content::ExecuteScriptAndExtractString( 1823 ASSERT_TRUE(content::ExecuteScriptAndExtractString(
1817 cross_frame, 1824 cross_frame,
1818 "window.domAutomationController.send(" 1825 "window.domAutomationController.send("
1819 " document.getElementById('NAME_FIRST').value);", 1826 " document.getElementById('NAME_FIRST').value);",
1820 &value)); 1827 &value));
1821 EXPECT_EQ("Milton", value); 1828 EXPECT_EQ("Milton", value);
1822 } 1829 }
1823 1830
1824 } // namespace autofill 1831 } // namespace autofill
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