Commit Graph

95 Commits

Author SHA1 Message Date
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Jared Wein
7c1615ceba Bug 1329014 - Enable the no-extra-bind rule and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: BwK94W2mHXS
2017-01-05 16:43:29 -05:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Mark Banner
fb8a196639 Bug 1325623 - Fix most no-undef eslint issues in toolkit/components. r=mossop
MozReview-Commit-ID: DYJa1uNVagw
2016-12-23 16:00:46 +00:00
Dave Townsend
e7b1b3284f Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Mark Banner
8ddd9bb511 Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop
MozReview-Commit-ID: 8svkCKZHxsq
2016-11-08 12:49:32 +00:00
Jared Wein
b6817d7876 Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
MozReview-Commit-ID: 1mhCWplknyN
2016-11-07 22:34:25 -05:00
Iris Hsiao
d24e67dbe4 Backed out changeset f6f28be8d8f2 (bug 1315781) for XPCShell test timed out 2016-11-10 14:53:46 +08:00
Jared Wein
0c41af265f Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
MozReview-Commit-ID: DnpVQRrG9Ec
2016-11-07 22:34:25 -05:00
Jared Wein
5edec1c0d9 Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: HIUTSdkXxbY
2016-11-03 14:42:06 -04:00
Jared Wein
0c024fa9ca Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Jared Wein
8860cdf2c1 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Paolo Amadini
e73184e12b Bug 899013 - Interface for customizing the DownloadIntegration module. r=mak
MozReview-Commit-ID: HWmcxXlLdLx
2016-04-18 14:21:55 +01:00
Sebastian Kaspari
a95d19a0ad Bug 1216537 - Check and request storage permission if file download is started. r=nalexander,paolo 2016-01-15 19:38:18 +01:00
Mrinal Dhar
b9fcdd077b Bug 1113736 - Remove tail.js and add cleanup function call in head.js. r=paolo 2015-12-28 15:05:13 +00:00
Dave Townsend
1c4c3fc446 Bug 1229519: Fix download managers to pass eslint checks. r=mak 2015-12-03 10:00:18 -08:00
Christoph Kerschbaumer
6d34f2a6f1 Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking) 2015-11-17 17:35:30 -08:00
Christoph Kerschbaumer
e2cb9aea77 Bug 1223437 - Use channel.asyncOpen2 in toolkit/components/jsdownloads/test/unit (r=sicking) 2015-11-15 14:48:38 -08:00
Nigel Babu
dda22d2ceb Backed out changeset 874285de3dc7 (bug 1223437) 2015-11-16 16:03:15 +05:30
Christoph Kerschbaumer
2d47f157d5 Bug 1223437 - Use channel.asyncOpen2 in toolkit/components/jsdownloads/test/unit (r=sicking) 2015-11-15 14:48:38 -08:00
Carsten "Tomcat" Book
036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
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
Magnus Melin
5b81504ee1 Bug 1159632 - TEST-UNEXPECTED-FAIL | toolkit/components/jsdownloads/test/unit/test_DownloadImport.js when browser.helperApps.deleteTempFileOnExit true. r=paolo 2015-05-25 21:16:22 +03:00
Wes Kocher
a873030f3a Backed out changeset ee2d0bbca72c (bug 1159632) for windows xpcshell permafail 2015-06-07 18:57:58 -07:00
Magnus Melin
c928e3cb15 Bug 1159632 - TEST-UNEXPECTED-FAIL | toolkit/components/jsdownloads/test/unit/test_DownloadImport.js. r=paolo
The failure occured when browser.helperApps.deleteTempFileOnExit was set to true.
2015-05-25 21:16:22 +03:00
Christoph Kerschbaumer
9ea833fd29 Bug 1162657 - Turn NewChannel deprecation warnings into assertions (r=sworkman,sicking,paolo) 2015-05-13 17:58:52 -07:00
Georg Fritzsche
f1b09b984d Bug 1149754 - Part 1: Rename TelemetryPing.jsm to TelemetryController.jsm. r=vladan 2015-04-27 18:07:58 +02:00
Aime Galmi
60ced7a657 Bug 1132213 - Remove newChannel2 and asyncFetch2 calls in the "jsdownloads" folder. r=paolo 2015-03-22 01:38:01 +01:00
Hiroyuki Ikezoe
c5fc11787e Bug 1139254 - Use MockRegistrar in toolkit/components. r=Unfocused 2015-03-24 19:47:00 -04:00
Paolo Amadini
d16d2efda7 Bug 1114624 - Don't register the legacy nsIDownloadManager implementation of nsITransfer by default anymore. r=mak,marco,margaret,fabrice 2015-02-05 11:19:01 +00:00
Christoph Kerschbaumer
0987eed315 Bug 1125991 - Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/components/jsdownloads - tests (r=paolo) 2015-02-02 20:10:07 -08:00
Ganesh Sahukari
89b61a06c1 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-27 16:07:20 -05:00
Ryan VanderMeulen
feab374f8c Backed out changeset dd417504346b (bug 1114594) for crashes.
CLOSED TREE
2015-01-27 15:17:39 -05:00
Ganesh Sahukari
fcdc7673f5 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-20 10:11:00 +00:00
Carsten "Tomcat" Book
c5e92c4e18 Backed out changeset d34e894a9ea2 (bug 1114594) for xpcshell and m5 test failures 2015-01-26 15:01:16 +01:00
Ganesh Sahukari
9071495fc0 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-20 10:11:00 +00:00
Tim Taubert
36c4079828 Bug 1113178 - Replace removeAllPages() in toolkit/components/jsdownloads/ r=mak 2015-01-17 19:05:31 +01:00
Sid Stamm
7327eccdb3 Bug 704320 - Add referrer policy support for nsIWebBrowserPersist and its consumers. (r=jst) 2014-11-18 08:47:14 -05: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
14dd343f32 Bug 983197 - Test that downloads fail with an HTTP/1.1 response shorter than the Content-Length. r=enn 2014-03-13 09:08:00 +00:00
David Rajchenbach-Teller
fcb4bae158 Bug 1010277 - Fixed uncaught async error in test_DownloadImport.js. r=paolo 2014-05-14 08:39:00 +02:00
Paolo Amadini
eb2124c3b9 Bug 941317 - Switch Downloads.jsm to use Promise.jsm. r=enn 2014-03-17 15:58:44 +01:00
Roberto A. Vitillo
a4e7d726ef Bug 960966 - Remove TelemetryPing.js from telemetry. r=Yoric, r=BenWa 2014-01-22 11:43:26 +00:00