Commit Graph

63 Commits

Author SHA1 Message Date
Mark Banner
0f7796144a Bug 1440761 - Enable no-unused-vars for global scope on jsm files in toolkit/. r=mossop
MozReview-Commit-ID: 7Okqmw5dBcL
2018-02-23 19:25:59 +00: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
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
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
Andrea Marchesini
cc26e17ff4 Bug 1429146 - Cleanup the ContextualIdentityService migration data, r=jkt 2018-01-09 21:52:00 +01:00
Andrea Marchesini
d97f24f08a Bug 1419589 - ContextualIdentityService should reset all the container data when resetting the identities, r=jkt 2017-11-29 08:52:03 +01:00
Andrea Marchesini
235a57d7fa Bug 1419591 - Migration 2 to 3 for ContextualIdentityService deletes all the container cookies, r=jkt 2017-11-29 08:51:10 +01:00
Csoregi Natalia
b02f513f93 Backed out 3 changesets (bug 1419591, bug 1419589) for failing Chrome tests on Linux Debug toolkit/content/tests/chrome/test_bug437844.xul. r=backout on a CLOSED TREE
Backed out changeset 213e5dc04b90 (bug 1419589)
Backed out changeset 47b38ef21292 (bug 1419591)
Backed out changeset bcc1d13d74ac (bug 1419591)
2017-11-29 04:46:28 +02:00
Andrea Marchesini
2ce84079eb Bug 1419589 - ContextualIdentityService should reset all the container data when resetting the identities, r=jkt 2017-11-28 14:35:28 +01:00
Andrea Marchesini
1b68e1bbec Bug 1419591 - Migration 2 to 3 for ContextualIdentityService deletes all the container cookies, r=jkt 2017-11-28 14:34:09 +01:00
Bob Silverberg
0d7a68aadc Bug 1404584 Part 3: Convert ExtensionPreferencesManager to use update and uninstall events, r=aswan,jkt
This includes removing the "web-extension-preferences-replacing" and "web-extension-preferences-replaced"
notifications as they are no longer needed.

MozReview-Commit-ID: IjNf4BImgas
2017-11-01 09:51:41 -04:00
Ian Moody
4efbdd1adc Bug 1416468 - Share container data parsing instead of duplicating it. r=baku a=baku 2017-11-14 01:55:17 +01:00
Andrea Marchesini
91e44393ce Bug 1347515 - Get rid of nsIJSON.decodeFromStream, r=qdot 2017-11-10 00:27:22 +01:00
Jonathan Kingston
a19f48b738 Bug 1407209 - Add observer for preference changes whilst extensions are being updated. r=aswan,baku,bsilverberg
MozReview-Commit-ID: 5CqpYDc4tCg
2017-10-16 18:44:50 +01:00
Kris Maglione
be161e68b4 Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.

MozReview-Commit-ID: LAzvfm5Qhy0
2017-08-19 13:32:58 -07:00
Jonathan Kingston
0dc11f6e00 Bug 1354602 - Enabling containers for container addons on startup. r=aswan,mconley,zombie
MozReview-Commit-ID: BXLyQz8CGDl
2017-08-13 16:17:41 +01:00
Jonathan Kingston
3ae7cf8f92 Bug 1344519 - Add web extension events for containers onUpdated, onCreated and onRemoved r=aswan,baku
MozReview-Commit-ID: 9Zxjc1J2CAt
2017-05-14 00:39:32 +01:00
Wes Kocher
00f6683e58 Backed out changeset 31db4b302143 (bug 1344519) for android xpcshell test_basic.js failures a=backout CLOSED TREE
MozReview-Commit-ID: KUR8cqMGGDJ
2017-08-03 19:04:09 -07:00
Jonathan Kingston
1a22af4493 Bug 1344519 - Add web extension events for containers onUpdated, onCreated and onRemoved r=aswan,baku
MozReview-Commit-ID: 9Zxjc1J2CAt
2017-05-14 00:39:32 +01:00
Wes Kocher
33ba360086 Backed out changeset 59765ae0aee3 (bug 1344519) for xpcshell failures in test_basic.js a=backout
MozReview-Commit-ID: 5rZc2r8YljU
2017-07-31 17:39:33 -07:00
Jonathan Kingston
f39744db1d Bug 1344519 - Add web extension events for containers onUpdated, onCreated and onRemoved r=aswan,baku
MozReview-Commit-ID: 9Zxjc1J2CAt
2017-05-14 00:39:32 +01:00
Andrea Marchesini
1d80ac7631 Bug 1368815 - ContextualIdentityService should remove containers only when all the tabs are completely closed, r=mconley 2017-07-25 13:26:28 +02:00
Rajesh Kathiriya
bfb3762076 Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW
2017-07-04 21:30:18 +05:30
Andrea Marchesini
69e7e93d4f Bug 1369761 - ContextualIdentityService should not be initialized before first paint, r=florian 2017-06-13 13:04:49 +02: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
Jared Wein
0c2dd4fa35 Bug 1329017 - Enable the no-useless-return rule for eslint and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: 2MhpvzUDgtK
2017-01-06 12:09:28 -05:00
Andrea Marchesini
4f5400bd4d Bug 1317185 - Propagate contextual-identity-updated notification when an ContextualIdentity is modified, r=gijs 2016-12-07 10:24:08 -10:00
Andrea Marchesini
cbc1159e2c Bug 1316740 - Add warning messages when containers are deleted, r=Gijs 2016-11-23 16:33:57 +01: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
Jonathan Kingston
6e8684cff6 Bug 1278177 - Change container icons to a single sprite sheet and to be rendered by CSS r=jaws
MozReview-Commit-ID: 2M1yFOxweBm
2016-09-14 22:48:58 +01:00
Yoshi Huang
85db56b906 Bug 1237152 - rename clear-origin-data to clear-origin-attributes-data, r=smaug
find \( -name '*.cpp' -o -name '*.h' -o -name '*.js' -o -name '*.jsm' -o -name '*.idl' -o -name '*.html' \) \
-a -type f -exec sed -i 's/clear-origin-data/clear-origin-attributes-data/g' {} \;
2016-10-07 17:45:10 +08:00
Andrea Marchesini
5c27ce10f1 Bug 1305280 - ContextualIdentityService.jsm must use UNIQUE_CONTAINERS_OPENED, r=me 2016-09-25 08:25:54 +02:00
Andrea Marchesini
13a53109bb Bug 1288029 - Close container tabs when Containers are disabled from about:preferences, r=gijs 2016-08-23 11:19:00 +02:00
Jonathan Kingston
3a9ffeaacc Bug 1291524 - Load correct containers data in ensureDataReady method. r=paolo
MozReview-Commit-ID: EduImX01Nzd
2016-08-05 15:33:06 +01: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
Andrea Marchesini
34f57886c8 Bug 1287091 - part 5 - ContextualIdentityService should dispatch 'clear-origin-data' when a container is deleted, r=Gijs 2016-07-25 09:26:18 +02:00
Andrea Marchesini
42cc3cfff3 Bug 1287091 - part 4 - ContextualIdentityService create/remove/update, r=Gijs 2016-07-25 09:25:56 +02:00
Andrea Marchesini
dfa95e676f Bug 1287091 - part 3 - ContextualIdentityService JSON file should have versions, r=Gijs 2016-07-25 09:25:39 +02:00
Andrea Marchesini
683a24c37d Bug 1287091 - part 2 - ContextualIdentityService must store telemetry data in a separate array, r=Gijs 2016-07-25 09:25:25 +02:00
Andrea Marchesini
27f8427500 Bug 1287091 - part 1 - ContextualIdentityService should use a storage for the containers, r=Gijs 2016-07-25 09:25:08 +02:00
Carsten "Tomcat" Book
cf0644ba80 Backed out changeset bf7c4e797f76 (bug 1287091) for bc3/bc6 test failures 2016-07-24 14:32:04 +02:00
Carsten "Tomcat" Book
2b67d07a6c Backed out changeset 93fa501cfd3a (bug 1287091) 2016-07-24 14:31:45 +02:00
Carsten "Tomcat" Book
0894131bac Backed out changeset c5efa902cbe5 (bug 1287091) 2016-07-24 14:31:44 +02:00
Carsten "Tomcat" Book
aacee25be3 Backed out changeset c01aeb081e2d (bug 1287091) 2016-07-24 14:31:43 +02:00
Carsten "Tomcat" Book
94cae1e61f Backed out changeset 165e7b455b8e (bug 1287091) 2016-07-24 14:31:42 +02:00
Andrea Marchesini
0d1dd9c435 Bug 1287091 - part 5 - ContextualIdentityService should dispatch 'clear-origin-data' when a container is deleted, r=Gijs 2016-07-23 08:58:41 +02:00