diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-20 23:12:25 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-20 23:12:25 +0000 |
commit | c065fa073f614eafdc3af5a69374ef9510ca3259 (patch) | |
tree | bec9d330a04f43cfb079f37201decfb76312df8b /chrome/browser/browser_browsertest.cc | |
parent | 4a5bbf82f2e1f3c9f54f7a8bdf9c4ee886000a41 (diff) | |
download | chromium_src-c065fa073f614eafdc3af5a69374ef9510ca3259.zip chromium_src-c065fa073f614eafdc3af5a69374ef9510ca3259.tar.gz chromium_src-c065fa073f614eafdc3af5a69374ef9510ca3259.tar.bz2 |
Disable app mode in the model on Mac so it is disabled in the page menu.
BUG=32559
TEST=menu item should be disabled on mac, enabled on win/linux
Review URL: http://codereview.chromium.org/552070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36695 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_browsertest.cc')
-rw-r--r-- | chrome/browser/browser_browsertest.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser_browsertest.cc b/chrome/browser/browser_browsertest.cc index 756b7dc..5dcfe57 100644 --- a/chrome/browser/browser_browsertest.cc +++ b/chrome/browser/browser_browsertest.cc @@ -219,6 +219,9 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, RenderIdleTime) { // Test IDC_CREATE_SHORTCUTS command is enabled for url scheme file, ftp, http // and https and disabled for chrome://, about:// etc. +// TODO(pinkerton): Disable app-mode in the model until we implement it +// on the Mac. http://crbug.com/13148 +#if !defined(OS_MACOSX) IN_PROC_BROWSER_TEST_F(BrowserTest, CommandCreateAppShortcut) { static const wchar_t kDocRoot[] = L"chrome/test/data"; @@ -271,6 +274,7 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, CommandCreateAppShortcut) { ui_test_utils::NavigateToURL(browser(), blank_url); EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); } +#endif // Test RenderView correctly send back favicon url for web page that redirects // to an anchor in javascript body.onload handler. |