Florian Queze
6cc0b6e992
Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws.
2017-04-27 00:25:45 +02:00
Paolo Amadini
60fca15e25
Bug 1348062 - Test that channels are properly marked for downloads. r=mak
...
Downloads handled by nsIExternalHelperAppService pass a null request to the final onStateChange notification, thus we need to hold a reference to the request earlier. This also allows unit tests to access the request while the download is running.
MozReview-Commit-ID: 21rapDmMIZw
2017-04-19 10:42:00 +01:00
Honza Bambas
a4e98b5ed2
Bug 1348062 - Mark channels used for downloads as throttable, r=nick+paolo
...
MozReview-Commit-ID: 9cg4PwrXtNa
2017-04-16 14:53:30 +01:00
Florian Queze
451928e614
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
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
Sebastian Hengst
f75839c723
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +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
Mike Hommey
b1a06955a6
Bug 1344038 - Remove --disable-gio. r=karlt
2017-04-05 14:06:25 +09:00
Paolo Amadini
1c5ae40148
Bug 1273265 - Allow long file names in specific cases. r=jimm
...
MozReview-Commit-ID: 3tl5Iihxs27
2017-04-06 09:08:06 +01:00
Jared Wein
5a181760cc
Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
...
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.
MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -04:00
Mark Banner
ec9074e132
Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
...
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Andrea Marchesini
25207d9b03
Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm
2017-03-08 20:15:45 +01:00
Florian Quèze
c7eae86054
Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
2017-03-07 15:29:48 +01:00
Greg Mierzwinski
a9323edf9f
Bug 1301197 - Add xpcshell code coverage to linux64-jsdcov and the 'coverage' mozinfo flag. r=jmaher
...
This patch makes it possible to collect code coverage for xpcshell tests using the linux64-jsdcov build. It also enables the use of a 'coverage' flag to disable tests when they are instrumented with the js debugger for code coverage. Lastly, it uses the 'coverage' flag to disable certain tests.
MozReview-Commit-ID: 97VFkJmlwQn
2016-11-08 15:57:21 -05:00
Mark Banner
55868dde7c
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Jared Wein
0ec522d5b6
Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
...
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06: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
Tooru Fujisawa
d1032721fa
Bug 1321229 - Remove legacy generator from toolkit/. r=Yoric
2016-12-01 18:12:15 +09: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
Sebastian Hengst
6cf65ed900
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: toolkit. r=RyanVM
...
MozReview-Commit-ID: I5LuDjnM7By
2016-11-05 11:29:22 +01: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
Tomislav Jovanovic
fda1335514
bug 915036 - Implement DownloadSource.adjustChannel callback to support POST requests r=Paolo
...
MozReview-Commit-ID: 1RplqGhjtn6
2016-10-21 15:54:18 +02:00
Mark Banner
233309fbe2
Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
...
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Gijs Kruitbosch
cf54b9be70
Bug 1305339 - part 2: use URI flags to determine if data is from the web, r=mstange,bz
...
This actually accomplishes what was discussed in the bug and marks any file with the
relevant URI flags as WebDownload, and everything else as OtherDownload.
Note that I'm using DoGetProtocolFlags in order to deal with
nsIProtocolHandlerWithDynamicFlags correctly; while just getting protocol flags
from the IO service directly would be less work, it's technically less correct.
MozReview-Commit-ID: HgD1fV98IEc
2016-10-03 13:52:19 +01:00
Jim Chen
31d505d8ba
Bug 1305271 - 2. Add and use jni::IsFennec() for Fennec-only code; r=snorp
...
Add jni::IsFennec() that returns whether we're in a Fennec environment
(defined as the presence of the GeckoApp class). Then, add
jni::IsFennec() checks to places where we use JNI for Fennec-only classes.
2016-09-28 23:49:25 -04:00
Jim Chen
bf2169c56b
Bug 1291375 - 5. Use Fennec bindings where needed; r=snorp
...
Switch include statements from GeckoView bindings to Fennec bindings
where needed.
2016-09-16 15:13:48 -04:00
Josh Aas
b47fed3802
Bug 337051: Follow-up fix for referrer assignments. r=gijskruitbosch
2016-09-15 07:58:51 -05:00
Jean-Yves Avenard
8cdf1e5f1d
Bug 1302646: Fix mac compilation following bug 337051. r=gerald
...
MozReview-Commit-ID: DYpijpqKtId
2016-09-14 17:38:06 +10:00
Josh Aas
3dd2c2f002
Bug 337051: Add origin and referrer URL metadata to downloaded files on OS X. r=mstange,pamadini
2016-09-13 02:25:36 -05:00
Nicholas Nethercote
cc4d39daaa
Bug 1297300 - Add missing checks to GetSpec() calls in toolkit/. r=froydnj.
2016-09-08 14:32:20 +10:00
Jared Wein
05088cc7cb
Bug 336290 - remove --enable-safe-browsing from configure since its used everywhere. r=gcp
...
MozReview-Commit-ID: Duwu5vZOhtF
2016-08-31 19:28:29 -04:00
Jimmy Wang
03b48c1ff7
Bug 1275289 - Add try catch to DownloadLegacy.js since aRequest.responseStatus does not exist in the case of a failed download. r=paolo
...
MozReview-Commit-ID: HbN86Ef3Okv
2016-05-24 14:37:42 -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
29944592f9
Bug 1294619 - Update jsdownloads code to enable the no-ex-assign rule for ESLint. r=jaws
...
MozReview-Commit-ID: DiFGriLUdQq
2016-08-12 11:52:29 -04:00
Jared Wein
4518d81cb5
Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
...
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Jared Wein
ebf1ccbe46
Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
...
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04:00
Carsten "Tomcat" Book
c0a2b46b9b
merge mozilla-inbound to mozilla-central a=merge
2016-07-22 11:58:02 +02:00
Jim Chen
e8f534d407
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 13:49:04 -04:00