diff options
Diffstat (limited to 'toolkit/components/downloads')
-rw-r--r-- | toolkit/components/downloads/nsDownloadManager.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/toolkit/components/downloads/nsDownloadManager.cpp b/toolkit/components/downloads/nsDownloadManager.cpp index df256a0cb..8c63f1392 100644 --- a/toolkit/components/downloads/nsDownloadManager.cpp +++ b/toolkit/components/downloads/nsDownloadManager.cpp @@ -947,13 +947,8 @@ nsDownloadManager::Init() // When MOZ_JSDOWNLOADS is undefined, we still check the preference that can // be used to enable the JavaScript API during the migration process. mUseJSTransfer = Preferences::GetBool(PREF_BD_USEJSTRANSFER, false); -#elif defined(XP_WIN) - // When MOZ_JSDOWNLOADS is defined on Windows, this component is disabled - // unless we are running in Windows Metro. The conversion of Windows Metro - // to use the JavaScript API for downloads is tracked in bug 906042. - mUseJSTransfer = !IsRunningInWindowsMetro(); #else - mUseJSTransfer = true; + mUseJSTransfer = true; #endif if (mUseJSTransfer) |