Commit Graph

19 Commits

Author SHA1 Message Date
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Christoph Kerschbaumer
3c253c09de Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
Christoph Kerschbaumer
12364e43fa Bug 1087739: Make JS callers of ios.newChannel call ios.newChannel2 in netwerk/ (r=sworkman,tanvi) 2014-10-24 15:16:29 -07:00
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Paolo Amadini
19e9ab1a3b Bug 984788 - Convert legacy uses of promise.js to Promise.jsm. rs=Yoric 2014-03-18 15:16:02 +01:00
Monica Chew
d6efae787a Bug 928536: Use WinVerifyTrust to get certificate information on downloaded binaries (r=paolo,keeler,sr=mossop) 2014-01-27 12:38:35 -08:00
Phil Ringnalda
d5fec3f193 Backed out 3 changesets (bug 928536) for build bustage
CLOSED TREE

Backed out changeset 750054102e68 (bug 928536)
Backed out changeset baa309383864 (bug 928536)
Backed out changeset 1ff2aed7f76f (bug 928536)
2014-02-05 08:29:17 -08:00
Monica Chew
221396fd3a Bug 928536: Use WinVerifyTrust to get certificate information on downloaded binaries (r=paolo,keeler,sr=mossop) 2014-01-27 12:38:35 -08:00
Paolo Amadini
0b255d0f39 Bug 920017 - Race condition in BackgroundFileSaver when setTarget is called multiple times in append mode. r=mcmanus 2013-10-09 10:13:49 +02:00
Honza Bambas
a55f8e6460 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Paolo Amadini
2f3f97511d Bug 896179 - Crash in BackgroundFileSaver when append is enabled and hashing is disabled. r=mcmanus 2013-07-24 10:16:01 +02:00
Paolo Amadini
985de6f583 Bug 887425 - BackgroundFileSaver should support appending to an existing file. r=mcmanus, sr=biesi 2013-07-09 13:59:59 +02:00
Monica Chew
fca22fd949 Bug 844392 - Fix race condition where ProcessStateChange can remove a file before cleanup. r=paolo 2013-03-07 08:35:38 -05:00
Monica Chew
376992ae0e Bug 829832 - NEEDS CLOBBER - Compute SHA256 hash on saving files in BackgroundFileSaver. (r=paolo,cviecco,sr=biesi) 2013-02-19 12:47:59 -08:00
Karl Tomlinson
0a5e5dec50 back out f24c22852083 for xpcshell failures b=829832 2013-02-20 11:15:51 +13:00
Monica Chew
784a4843a6 Bug 829832 - Compute SHA256 hash on saving files in BackgroundFileSaver. (r=paolo,cviecco,sr=biesi) 2013-02-19 12:47:59 -08:00
Dave Townsend
34c2e45a17 Bug 793928: Switch users of the promise library to the new location and move tests files. r=gavin 2013-02-01 11:43:15 -08:00
Raymond Lee
631d4ea4a6 Bug 820784 - Remove alternative add_task implementations. r=mak 2013-01-24 12:47:19 +08:00
Paolo Amadini
73c068db9f Bug 789932 - Add a component to save files asynchronously on a background thread, handling temporary download locations. r=biesi 2012-12-10 21:06:37 +01:00