Commit Graph

77 Commits

Author SHA1 Message Date
Luca Greco
2054cae3e6 Bug 1406181 - Add identity reserved for storage.local extension API to ContextualIdentityService. r=baku
MozReview-Commit-ID: APi7yJnuDe2
2018-02-21 15:23:45 +01:00
Cosmin Sabou
0f5163a609 Backed out 10 changesets (bug 1406181) as per developers request.
Backed out changeset 06461ddb2699 (bug 1406181)
Backed out changeset fd61d9faedf0 (bug 1406181)
Backed out changeset b52c2fb70ae1 (bug 1406181)
Backed out changeset 4f387b4a76a9 (bug 1406181)
Backed out changeset db783c96c076 (bug 1406181)
Backed out changeset 62e9126ecd0d (bug 1406181)
Backed out changeset d34810cab822 (bug 1406181)
Backed out changeset 3241c2dfb296 (bug 1406181)
Backed out changeset 912a2eaf4d26 (bug 1406181)
Backed out changeset fdac47b8ef20 (bug 1406181)
2018-06-03 16:10:23 +03:00
Luca Greco
e75e12119c Bug 1406181 - Add identity reserved for storage.local extension API to ContextualIdentityService. r=baku
MozReview-Commit-ID: APi7yJnuDe2
2018-02-21 15:23:45 +01:00
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Kris Maglione
b3990a2d91 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW
2018-04-24 20:18:09 -07:00
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
85e225ef00 Bug 1425979 - test_migration2to3 should be executed only if in nightly, r=jkt 2017-12-28 13:56:43 +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
09d5733e92 Bug 1419591 - Test for migration 2 to 3 for ContextualIdentityService data, r=jkt 2017-11-29 08:51:26 +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
f0b16638fb Bug 1419591 - Test for migration 2 to 3 for ContextualIdentityService data, r=jkt 2017-11-28 14:34:36 +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
3760acd1bc Bug 1390118 - Skip contextual identity test for Thunderbird r=aswan,jorgk+176914
MozReview-Commit-ID: IJscYunK0cH
2017-08-14 14:42:23 +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
Joel Maher
d2be399571 Bug 1351067 - add BUG_COMPONENT to toolkit/* files. r=myk,enndeakin,mossop
MozReview-Commit-ID: 8mv5Oed68JL
2017-04-09 05:43: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
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
Jonathan Kingston
87bc70f75d Bug 1216893 - Add in disabled namespace for SVG r=hsivonen,smaug
MozReview-Commit-ID: 7Gum6wazraS
2016-12-01 07:41:22 +00: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
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
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