Commit Graph

138 Commits

Author SHA1 Message Date
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
Carsten "Tomcat" Book
f2a98554ec Backed out changeset 27f3968ae8b2 (bug 1245184) 2016-02-19 15:55:23 +01:00
Andrea Marchesini
0a72c5e9e3 Bug 1245184 - CookieManager should remove cookies only if they match the userContextId, r=sicking 2016-02-19 14:49:50 +01:00
Marco Bonardo
77808a4218 Bug 1244650 - Failure to clear Forms and Search Data on exit. r=yoric
The problem is due to sanitization happening too late in the shutdown cycle.
The Sanitizer depends on Places shutdown, that recently moved to async shutdown.
That change caused shutdown to happen completely at profile-before-change, unfortunately
during that phase it's impossible to predict which services are already shutdown.
The patch restores the previous Places shutdown procedure, thus clients are notified
earlier, during profile-change-teardown.

Additional meaningful changes:
* Fixes FX_SANITIZE_TOTAL telemetry to properly count total time taken by sanitize.
* Makes each cleanup operation isolated from other errors to try cleaning up as most as possible.
* In case of multiple sanitization sub steps, each step is isolated by a try/catch, the last seen exception is reported upstream.
* Makes FX_SANITIZE_HISTORY actually measure history, not other random stuff.
* Removes TOPIC_SIMULATE_PLACES_MUST_CLOSE_1 since we can now just use profile-change-teardown for shutdown phase 1.

MozReview-Commit-ID: HroLvbi25IC

--HG--
extra : rebase_source : 5cd01a803fbc1f72dc5174dd0c5a5b5aea473fc2
2016-02-04 13:51:34 +01:00
Marco Bonardo
0bffcc3559 Bug 1243549 - Add missing bits. r=post-facto
MozReview-Commit-ID: BTRUMtNsSeQ
2016-02-11 16:09:17 +01:00
David Rajchenbach-Teller
5ad17c3a22 Bug 1243549 - Make sure that startup sanitization doesn't throw because it can't find a tabbrowser. r=mak 2016-02-04 09:40:40 -05:00
Matthew Noorenberghe
66c73b5940 Bug 1244908 - Remove privacy.clearOnShutdown.passwords migration code. r=dolske
--HG--
extra : commitid : 2HnKfq3jUZK
extra : rebase_source : 4cca79b260a18b95758bed5fbd2518b3d84d430a
2016-02-03 15:26:14 -08:00
Matthew Noorenberghe
6f76f345ba Bug 1242176 - Don't migrate privacy.clearOnShutdown.passwords if privacy.sanitize.sanitizeOnShutdown is false. r=dolske 2016-01-28 10:49:00 -08:00
Mélanie Chauvel (ariasuni)
24691fcfc3 bug 1211849 - Remove canClear support from the Sanitizer. r=mak
Modifications by Patrick <nwokop@uni.coventry.ac.uk>

--HG--
extra : commitid : 4sPxOcyS2qv
2015-10-07 19:46:35 +02:00
Kit Cambridge
2aac6b9fea Bug 1189998, Part 2 - Migrate Push service callers. r=mt
--HG--
extra : commitid : Irrl5pvEqC
extra : rebase_source : 11c261c95820225bcc50976956000f34a79f9578
2015-12-08 15:41:48 -05:00
Felipe Gomes
2df6ae44b6 Bug 1229603 - Make most of browser/base lintable by removing non-standard syntax. r=Mossop
--HG--
extra : commitid : 5Dg6Q0MzXTN
2015-12-02 17:51:26 -02:00
Bill McCloskey
4f99faeaed Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-11 18:04:21 -08:00
Tooru Fujisawa
8ed7719ea4 Bug 1216775 - Remove for-each from browser/. r=Gijs
--HG--
extra : commitid : 5KlVHJwTU1Q
extra : rebase_source : 6526234004427109c826cb63f42c9def8ca31281
2015-10-19 01:27:39 +09:00
J. Ryan Stinnett
6335fd7480 Bug 1203159 - Clean up various incorrect paths. r=ochameau 2015-10-21 12:48:55 -05:00
J. Ryan Stinnett
986f2a5cde Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
David Rajchenbach-Teller
7924ef22c9 Bug 1213672 - Turning onWindowOpened into a variable; r=mak
--HG--
extra : amend_source : 4749a0f13895765ec3431c51405483543742fafc
2015-10-12 09:30:23 +02:00
Bill McCloskey
c5d5457154 Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-10-07 11:15:11 -07:00
Bill McCloskey
207404ad2d Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-10-01 21:18:48 -07:00
Wes Kocher
296abd21ee Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 38a51b2c491658bc19cfac0d227b04ef6e5f6718
2015-09-30 14:10:21 -07:00
Tooru Fujisawa
d88225d76e Bug 1207490 - Part 1: Remove use of expression closure from browser/base/. r=dao
--HG--
extra : commitid : GTnFNtx973B
extra : rebase_source : 5bf8bb3d7ddb0234bd533cf6ddc843dd2db9d8f5
2015-09-21 00:29:37 +09:00
David Rajchenbach-Teller
34c2816fc1 Bug 1089695 - Async sanitize.js;r=mak
--HG--
extra : transplant_source : n%84iA%8D%87%D1t%81C%22%E9%02Z%BB%04%D1Q%93%3C
2015-07-27 19:18:19 +02:00
David Rajchenbach-Teller
1bea015a1a Bug 1089695 - Fixing wrong dependency in Places shutdown. r=mak
--HG--
extra : transplant_source : %E43%A0G%04%97%1E%2B8%26i%B8X%8A%D9%B5%D53%E0%F9
2015-08-10 11:07:54 +02:00
Nikhil Marathe
079c3d0a1b Bug 1188937 - Only add Push API interfaces to build if the feature is enabled. r=kitcambridge
--HG--
extra : commitid : BRZ0gZEecxz
extra : amend_source : fb91b88616e837bf5e09a6a19c31acb1b94e4e64
extra : transplant_source : %84W%27%B8%40A%7F%26%04%0E%C6%A9%13o%25%D4SOD6
2015-07-29 09:12:51 -07:00
Edouard Oger
a818212fb8 Bug 1102184 - Deprecate the clear saved passwords on shutdown feature. r=dolske 2015-07-17 13:18:00 -04:00
Brad Lassey
857ea25644 bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak 2015-06-30 18:08:19 -04:00
Wes Kocher
9e61cb09b7 Backed out changeset 9e0475a23d21 (bug 1158561) for assertions in test_clear_site_data.html CLOSED TREE 2015-07-01 16:25:26 -07:00
Brad Lassey
8caec1b14a bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak 2015-06-30 18:08:19 -04:00
Ryan VanderMeulen
9483a612e8 Backed out changesets 57bbe09f18f2 and 8353c823b8b5 (bug 1158561) for win32 build bustage.
CLOSED TREE
2015-07-01 12:11:41 -04:00
Brad Lassey
9ddc8315be bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak 2015-06-30 18:08:19 -04:00
Chris Manchester
d71f544ddf Bug 1171210 - Add a telemetry probe for how long it takes to clear plugin cookies during sanitize. r=vladan 2015-06-10 17:31:34 -07:00
Xidorn Quan
d7dd0eac3b Bug 1161802 part 2 - Split nsGlobalWindow::SetFullScreenInternal into two parts, one part before the window resizing, the other after. r=smaug,dao,margaret
This patch moves the "fullscreen" event from the original place to the
second part, which indicates two other changes:

1. When the event is triggered, the value of fullScreen would have been
toggled to the new value, which is different from before. The changes in
browser/../browser-fullScreen.js and mobile/../browser.js are for this.

2. This event is no longer preventDefault-able, since it is triggered
after the fullscreen change. This leads to the removal of the test and
the only place which calls preventDefault on that event. That place is
a workaround for bug 1079222. To address that problem, this patch fixes
the intrinsic issue via stoping handling the fullscreen change once it
finds we failed to change the state of the widget.

--HG--
extra : source : 78f78a62ce31b33413f0b52532eb22e5712cb646
2015-06-10 23:13:12 +12:00
Doug Turner
91f963df66 Bug 1149274 - Clear site-permissions should clear all registered push notifications. r=nsm 2015-04-21 20:10:51 +02:00
Jan-Ivar Bruaroey
c6676519f2 Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, florian, billm, jesup 2015-03-03 09:51:05 -05:00
Randell Jesup
2b3486247c Backed out 6 changesets (bug 1046245) on a CLOSED TREE 2015-03-29 01:42:32 -04:00
Jan-Ivar Bruaroey
cdd0b089a5 Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, r=florian, r=billm, r=jesup 2015-03-03 09:51:05 -05:00
Phil Ringnalda
24b4f38005 Back out 6 changesets (bug 1046245) for thinking that MSVC would have anything to do with a __PRETTY_FUNCTION__
CLOSED TREE

Backed out changeset 9e3ecca831d8 (bug 1046245)
Backed out changeset 87dc145f4da8 (bug 1046245)
Backed out changeset 01606cf19a77 (bug 1046245)
Backed out changeset 2ed2b15fe940 (bug 1046245)
Backed out changeset 2b99b193828a (bug 1046245)
Backed out changeset d1ac67faccbb (bug 1046245)
2015-03-28 19:57:17 -07:00