Commit Graph

45 Commits

Author SHA1 Message Date
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Florian Quèze
f1a55f73f8 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Johann Hofmann
5e2b8d561e Bug 1431029 - Show a "last accessed" column in the site data manager. r=Gijs
MozReview-Commit-ID: LidkPQ6kLfX
2018-02-20 14:54:43 +01:00
Johann Hofmann
1c4206a397 Bug 1421737 - Part 1 - Include cookies in SiteDataManager.jsm. r=Gijs
MozReview-Commit-ID: HovCREaRbgL
2018-02-09 20:47:07 +01:00
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Johann Hofmann
05a5aaecc3 Bug 1422163 - Part 1 - Make a new confirm dialog for clearing all site data that allows you to clear cache. r=Gijs
MozReview-Commit-ID: G9xQXlfT9Ay
2018-01-10 12:24:40 +01:00
Narcis Beleuzu
992019d6d1 Backed out 2 changesets (bug 1422163) for mochitest bc failure on /browser_clearSiteData.js. on a CLOSED TREE
Backed out changeset 7ab250439e7b (bug 1422163)
Backed out changeset 7eed1367d341 (bug 1422163)
2018-02-01 19:46:56 +02:00
Johann Hofmann
dcdd131887 Bug 1422163 - Part 1 - Make a new confirm dialog for clearing all site data that allows you to clear cache. r=Gijs
MozReview-Commit-ID: G9xQXlfT9Ay
2018-01-10 12:24:40 +01:00
Narcis Beleuzu
14e8d47637 Backed out 2 changesets (bug 1422163) for mochitest bc6 failure on /browser_clearSiteData.js. on a CLOSED TREE
Backed out changeset f8a8160484c8 (bug 1422163)
Backed out changeset 60cd03e9c5ac (bug 1422163)
2018-02-01 16:33:52 +02:00
Johann Hofmann
45bdd86c45 Bug 1422163 - Part 1 - Make a new confirm dialog for clearing all site data that allows you to clear cache. r=Gijs
MozReview-Commit-ID: G9xQXlfT9Ay
2018-01-10 12:24:40 +01:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Fischer.json
9bad507e06 Bug 1410416 - Part 1: Have SiteDateManager.jsm call propagateUnregister to remove service workers, r=baku
MozReview-Commit-ID: BNUhm6a2x1b
2017-10-20 21:35:58 +08:00
Sebastian Hengst
45ed741b17 Backed out 2 changesets (bug 1410416) for linting failures in browser/components/preferences/in-content/tests/browser_siteData.js. r=backout
Backed out changeset b0d6deea2bca (bug 1410416)
Backed out changeset c2d97da8bfed (bug 1410416)
2017-11-02 21:30:24 +01:00
Fischer.json
ae5cf08cb8 Bug 1410416 - Part 1: Have SiteDateManager.jsm call propagateUnregister to remove service workers, r=baku
MozReview-Commit-ID: BNUhm6a2x1b
2017-10-20 21:35:58 +08:00
Andrea Marchesini
de0f94f29f Bug 1409496 - Cleaning data per domain, must delete localStorage data, r=asuth 2017-10-25 19:14:34 +02:00
Andrea Marchesini
99c5aeecd1 Bug 1401878 - Remove ServiceWorkers in SiteDataManager.jsm, r=bkelly 2017-09-21 21:32:00 +02:00
Wes Kocher
54edb8eced Backed out changeset 04888373f12b (bug 1401878) for xpcshell bustage a=backout
MozReview-Commit-ID: AYiI2MJbBbC
2017-09-21 13:48:04 -07:00
Andrea Marchesini
ce0e20f924 Bug 1401878 - Remove ServiceWorkers in SiteDataManager.jsm, r=bkelly 2017-09-21 21:32:00 +02:00
Fischer.json
0e7340255f Bug 1372592 - Should not display non-persistent-storage sites which stores 0 byte in Preferences Site Data section, r=jaws
MozReview-Commit-ID: BelcT0Lpmba
2017-08-24 17:33:06 +08:00
Fischer.json
41794441c8 Bug 1377104 - Should clear all stored site data dynamically, r=Gijs
MozReview-Commit-ID: 69dWoxw2gGm
2017-08-22 14:57:43 +08:00
Fischer.json
9c888bab05 Part 2: Bug 1348733 - Update tests for site data manager now that we use quota storage manager, r=Gijs
The patch does
- update both the in-content and in-content-old tests
- add the offline test page for appcache testing case
- update tests for switching to Quota Manager from Permission Manager to get sites list
- add one test case of grouping sites across scheme, port and origin attributes by host
- add one test case of list site using quota usage or site using appcache

MozReview-Commit-ID: 6brLVwzmSgf
2017-05-10 09:46:46 -04:00
Fischer.json
0099c14a27 Part 1: Bug 1348733 - List sites using quota storage or appcache in Settings of Site Data, r=Gijs
This patch does:
- remove codes about counting and removing http cache per site
- group and list sites based on host across scheme, port and origin attributes
- list sites using quota usage or appcache
- sort sites descending by usage by default

MozReview-Commit-ID: 29zZTzOsC7c
2017-04-11 22:47:48 +08:00
Fischer.json
b1eccb7cb4 Bug 1355795 - about:preferences#privacy is broken with browser.cache.offline.enable=false, r=jaws
If browser.cache.offline.enable was set to false, then calls to nsIApplicationCacheService would throw. The SiteDataManger and OfflineGroup using nsIApplicationCacheService has been moved into the privacy pane. We should test that the privacy pane is loaded well.

MozReview-Commit-ID: C9RRRYmb3Zb
2017-04-12 11:53:18 +08:00
Phil Ringnalda
5330eb9d09 Backed out changeset 245952e7a2d5 (bug 1355795) for failures in browser_bug795764_cachedisabled.js 2017-04-16 19:59:17 -07:00
Fischer.json
39f364caf3 Bug 1355795 - about:preferences#privacy is broken with browser.cache.offline.enable=false, r=jaws
If browser.cache.offline.enable was set to false, then calls to nsIApplicationCacheService would throw. The SiteDataManger and OfflineGroup using nsIApplicationCacheService has been moved into the privacy pane. We should test that the privacy pane is loaded well.

MozReview-Commit-ID: C9RRRYmb3Zb
2017-04-12 11:53:18 +08:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +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
Fischer.json
45e6ba6982 Bug 1348252 - Disable buttons and display loading message in Site Data section while loading data, r=Gijs
MozReview-Commit-ID: 9EfG71hRoDe
2017-04-05 22:28:30 +08:00
Jan Varga
975ddc8857 Bug 1348660 - Part 1: Convert nsIQuotaUsageRequest result related attributes to a new structure nsIQuotaUsageResult and expose it using a new result attribute of type nsIVariant; r=btseng 2017-03-22 12:13:38 +01:00
Andrea Marchesini
03364d5e05 Bug 1337964 - SiteDataManager should check correctly if a cookie belongs to a private identity or not, r=aryx, r=gijs 2017-02-15 13:12:52 +01:00
Fischer.json
01d51048f2 Bug 1312377 - Remove selected site data in Settings of Site Data, r=jaws
MozReview-Commit-ID: 2MlnZfajM4t
2016-12-19 16:57:34 +08:00
Florian Quèze
45647c4570 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01: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
Fischer.json
f5f37b0b6d Bug 1312372 - List sites using storage in Settings of Site Data, r=jaws
MozReview-Commit-ID: HqaiLW5R8Qv
2016-11-25 17:35:25 +08:00
Fischer.json
405942b008 Bug 1312361 - Clear all sites data from the Site Data section, r=Gijs
MozReview-Commit-ID: 7JbzO7TQaeX
2016-11-15 14:49:18 +08:00
Fischer.json
f76dfacb39 Bug 1313003 - Add Site Data section into Network of Advanced of about:preferences, r=jaws
MozReview-Commit-ID: KVUs8FTftxY
2016-11-03 17:34:39 +08:00
Iris Hsiao
6a74d9c088 Backed out changeset 502977d27c28 (bug 1313003) for eslint failure 2016-11-21 13:23:25 +08:00
Fischer.json
88b440ddd4 Bug 1313003 - Add Site Data section into Network of Advanced of about:preferences, r=jaws
MozReview-Commit-ID: KVUs8FTftxY
2016-11-03 17:34:39 +08:00