Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1364050 - Part 1 - Remove the MOZ_JSDOWNLOADS configure option. r…
Browse files Browse the repository at this point in the history
…=mak

MozReview-Commit-ID: B73Ym5tD06R
  • Loading branch information
Paolo Amadini committed May 5, 2017
1 parent 117ee19 commit 67131c7
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 255 deletions.
1 change: 0 additions & 1 deletion browser/confvars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ else
MAR_CHANNEL_ID=firefox-mozilla-central
fi
MOZ_PROFILE_MIGRATOR=1
MOZ_JSDOWNLOADS=1

# Enable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=1
Expand Down
5 changes: 0 additions & 5 deletions old-configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -4990,11 +4990,6 @@ if test "$MOZ_REQUIRE_SIGNING" = 1; then
AC_DEFINE(MOZ_REQUIRE_SIGNING)
fi

AC_SUBST(MOZ_JSDOWNLOADS)
if test -n "$MOZ_JSDOWNLOADS"; then
AC_DEFINE(MOZ_JSDOWNLOADS)
fi

dnl ========================================================
dnl = Mac bundle name prefix
dnl ========================================================
Expand Down
6 changes: 0 additions & 6 deletions toolkit/components/downloads/nsDownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -958,13 +958,7 @@ nsDownloadManager::Init()
getter_AddRefs(mBundle));
NS_ENSURE_SUCCESS(rv, rv);

#if !defined(MOZ_JSDOWNLOADS)
// 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);
#else
mUseJSTransfer = true;
#endif

if (mUseJSTransfer)
return NS_OK;
Expand Down
5 changes: 0 additions & 5 deletions uriloader/exthandler/tests/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

BROWSER_CHROME_MANIFESTS += ['mochitest/browser.ini']

# The encoding test is already implemented in the Downloads API by a set of
# test cases with the string "content_encoding" in their names.
if not CONFIG['MOZ_JSDOWNLOADS']:
XPCSHELL_TESTS_MANIFESTS += ['unit_ipc/xpcshell.ini']

TESTING_JS_MODULES += [
'HandlerServiceTestUtils.jsm',
]
Expand Down
231 changes: 0 additions & 231 deletions uriloader/exthandler/tests/unit_ipc/test_encoding.js

This file was deleted.

7 changes: 0 additions & 7 deletions uriloader/exthandler/tests/unit_ipc/xpcshell.ini

This file was deleted.

0 comments on commit 67131c7

Please sign in to comment.