Commit graph

173 commits

Author SHA1 Message Date
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Andrea Marchesini
efc8abf253 Bug 1407936 - Fixing eslint failure, r=me 2017-10-19 19:06:18 +02:00
Andrea Marchesini
44453a7efd Bug 1407936 - Cleaning up QuotaManagar data only when ServiceWorkers are correctly unregistered, r=bkelly 2017-10-19 18:17:40 +02:00
Andrea Marchesini
eadfc30ba5 Bug 1404105 - Sanitize.js must check if QuotaManager returns an error before continuing with cleaning data, r=janv 2017-10-16 11:50:01 +02:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Andrea Marchesini
d2b7163264 Bug 1402270 - Sanitizer and BrowsingData should delete QuotaManager storages using the origin directly and not the origin as pattern, r=janv 2017-09-22 11:52:48 +02:00
Andrea Marchesini
b7cd7c515d Bug 1047098 - "Clear Recent History" must clean up all the ServiceWorkers, r=bkelly
This includes minor shutdown fixes by :asuth as discussed on
https://bugzilla.mozilla.org/show_bug.cgi?id=1047098#c56 and c57.

--HG--
extra : rebase_source : d1a230cc005b2a6a71f16ef84a55851ee2f4f66e
extra : source : e89d2565799b4b02d5ee2c56da8d44dc0067f26a
2017-09-21 21:32:00 +02:00
Wes Kocher
6bc8986bc1 Backed out changeset e89d2565799b (bug 1047098) for xpcshell bustage a=backout
MozReview-Commit-ID: FRFALkRxDxl
2017-09-21 13:48:10 -07:00
Andrea Marchesini
ebcdb2c6b8 Bug 1047098 - "Clear Recent History" must clean up all the ServiceWorkers, r=bkelly 2017-09-21 21:32:00 +02:00
Andrea Marchesini
c4d20beb84 Bug 1047098 - "Clear Recent History" must always clean up QuotaManager data, r=janv 2017-09-21 21:32:00 +02:00
Kris Maglione
0ecfcbc93e Bug 1388215: Part 3 - Use JIT-friendly defineLazy*Getters methods when defining many lazy imports. r=florian
MozReview-Commit-ID: APoFwUhDFdj

--HG--
extra : rebase_source : 15761873b91efaf1d338b6361bf7168ab4348e0d
2017-08-09 13:03:36 -07:00
Marco Castelluccio
1ac9951d82 Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/base/content/* files. r=Gijs
--HG--
extra : rebase_source : 838f891fc0d6a53a82f06f6b9c4261ae89c79cc3
2017-07-31 12:51:35 +02:00
Florian Quèze
721c3ada5e Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley. 2017-06-23 11:25:18 +02:00
Andrew McCreight
8340e0d293 Bug 1371042 - Fix destructuring assignment in sanitize.js. r=Gijs
MozReview-Commit-ID: 4farchkzM60

--HG--
extra : rebase_source : c2b32ffd874e438c591f222312c7194708f31fe1
2017-06-07 14:23:47 -07:00
Andrew McCreight
a614ce747d Bug 1370732 - Define Cc and Ci in sanitize.js. r=Gijs
These are referred to, but never explicitly defined. Under some
circumstances with shared JSM globals, this will cause an error.

MozReview-Commit-ID: 5DP2NSRoNML

--HG--
extra : rebase_source : 008b9ece57b4f93a2b86fd53a2c0e209da1b2975
2017-05-31 14:24:52 -07:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 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
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Mark Banner
1087fc1884 Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR

--HG--
extra : rebase_source : 482bdc039362347f35aec9fd15e07a143dccb860
2017-02-22 17:02:59 +00:00
Jared Wein
a54eda04ca 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

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Marco Bonardo
21fb0f14bb Bug 1345075 - Remove FX_SANITIZE_LOADED_FLASH and FX_SANITIZE_UNLOADED_FLASH. r=Felipe
MozReview-Commit-ID: 1WoxWh3OkL4

--HG--
extra : rebase_source : 66a0de288fd3066e034394f30ffa990c1e4aaf57
2017-03-07 14:13:07 +01:00
Jared Wein
9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein
ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c 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
7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Aman Dwivedi
6cbcc32370 Bug 1323685 - Remove workarounds for bug 449811. r=mak 2016-12-22 16:33:28 +05:30
Bob Silverberg
526630bfba Bug 1324760 - Expose a function that clears plugin data in sanitize.js, r=mak
MozReview-Commit-ID: A8AxhyzyEwk

--HG--
extra : rebase_source : 6c3c2c09fa011f36f38549d442bd6c85c880b281
2016-12-20 09:24:06 -05:00
Dão Gottwald
a4f102118b Bug 1323807 - Make sanitize.js handle the search bar having moved to the overflow or menu panel. r=mak
--HG--
extra : rebase_source : 9b166413b396a718d08c24737aa6715e2f369bb4
2016-12-16 19:57:08 +01:00
Dave Townsend
8de07a19a0 Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz

--HG--
extra : rebase_source : db6482481b7338df491afd6f6fd376eccec84d7e
2016-11-11 08:10:51 -08:00
Dave Townsend
0a2c8f9b78 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ

--HG--
extra : rebase_source : 78fe71a1d673a1c698520a9c82c6f35959614f8f
2016-11-10 14:48:04 -08:00
Jared Wein
5040f17e00 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

--HG--
extra : rebase_source : 9c8a6b15c19982d720b0163fbbf19d465da786fe
2016-10-24 13:14:19 -04:00
Matthew Noorenberghe
3803d21cec Bug 1297905 - Remove usage of getAllDisabledHosts in sanitize implementations. r=liuche,markh
Bug 1058438 moved disabled hosts to the permission manager which are already cleared by these modules.

MozReview-Commit-ID: InprrYLvjMR

--HG--
extra : rebase_source : 806c2542cbab953b74ad82611501ecac32400930
2016-08-24 17:41:10 -07:00
Marco Bonardo
dc56c93a8c Bug 1287428 - Fix expiration of the FX_SANITIZE_ probes expiring in v50.r=adw
MozReview-Commit-ID: IckqRR0RBbd

--HG--
extra : rebase_source : 401f807dcfa94460547e660a3f0ea7dbfb9d4026
extra : amend_source : ea0c1c6f3145a944a5e1966f325b7262a0246acf
2016-07-26 17:27:17 +02:00
Kit Cambridge
7500315560 Bug 1275436 - Remove push subscriptions from the server after clearing permissions and site data. r=mt
Previously, we removed records locally, but didn't notify the server.
We can be nice and avoid making the server buffer messages for
subscriptions that the client will never use again.

MozReview-Commit-ID: 5iohGQPHXuz

--HG--
extra : rebase_source : 00639fe1016ffd241c18643049f4b061740025f1
2016-05-20 09:38:26 -07:00
Marco Bonardo
e399ecf5b8 Bug 1258354 - Sanitize on shutdown adds 2 blockers, when only one is really needed. r=yoric
MozReview-Commit-ID: BbtZMIwT54N

--HG--
extra : rebase_source : a7cc3fff75707bab57f41008734ea558193080a4
2016-04-13 14:08:18 +02:00
Andrea Marchesini
83a08cd72e Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-10 05:46:07 +01:00
Ryan VanderMeulen
1c7872d0af Backed out changeset 7d5f1e9ce04c (bug 1259169) for various cookie-related crashes and test failures. 2016-04-09 15:36:07 -04:00
Andrea Marchesini
d09d8959fe Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-09 19:09:49 +01:00
Dave Townsend
4bf4f02ce7 Bug 1257246: Update browser for eslint 2. r=felipe
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: DEskVIjiKDM

--HG--
extra : rebase_source : 07ba1d14655f5d761624b105ef025ec88323d4d5
extra : histedit_source : 9e5ab54ce1b1a5ee1f0fb143f8d1450522455e3b
2016-04-05 11:33:33 -07:00
David Rajchenbach-Teller
09394a58f8 Bug 1253204 - Don't abort shutdown on plugins sanitization;r=mak
MozReview-Commit-ID: 5bub8n8cCsZ

--HG--
extra : rebase_source : 46b3591bfc0dae866eeb95644ede659b8a37a202
2016-03-04 16:11:21 +01:00
Marco Bonardo
f946230755 Bug 1252089 - Report the in-progress sanitization in shutdown abort metadata. r=yoric
MozReview-Commit-ID: KjmRVLpBLJx

--HG--
extra : rebase_source : 273c3ce71f62d04fe6adbcd12fb2c0dd8838faae
extra : amend_source : ef237bd823a425603f00253495653e245f976a47
2016-02-29 17:26:12 +01:00
Marco Bonardo
42d7d55a85 Bug 1251469 - Add telemetry probes for the time needed to sanitize a loaded or unloaded Flash. r=yoric
MozReview-Commit-ID: 8j9teGzMSV2

--HG--
extra : rebase_source : 57fac49ccce20d013fbfe20e28c98dfe3048a56c
extra : amend_source : e25c7975283782e6b705958ea6d060edfcf84d67
2016-02-26 14:50:41 +01:00
Andrea Marchesini
ed31fee8d4 Bug 1245184 - nsICookieManager.remove should use the OriginAttributes, r=sicking 2016-02-25 16:41:13 +01:00
Marco Bonardo
e0ce819ccc Bug 1250362 - don't flush prefs on startup unless it's really needed. r=yoric
MozReview-Commit-ID: FLrlrF4A1Om

--HG--
extra : rebase_source : 9fe9e1cee72c3466884ffee9eb5064482969439f
2016-02-23 23:29:43 +01:00
Marco Bonardo
99f799e4c7 Bug 1249786 - fix typo. r=me on a CLOSED TREE
MozReview-Commit-ID: 3AeOpRsNd23
2016-02-22 16:52:06 +01:00
Marco Bonardo
b4d417454e Bug 1249786 - Sanitize on startup prefs are broken. r=yoric
MozReview-Commit-ID: LDmK7G1BhGP

--HG--
extra : rebase_source : f6005e1cfb2e14b0ce5c3b7e9a370170604e8a77
2016-02-19 23:22:24 +01:00