Kris Maglione
a259026c9d
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
--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Francois Marier
5243aa897b
Bug 1434741 - Only check final download URL against the application reputation whitelist. r=gcp
...
MozReview-Commit-ID: QCaStgteko
--HG--
extra : rebase_source : e3615f93bc036bfb93dee753add0a9c2367393c0
2018-02-05 18:11:56 -08:00
Andrew McCreight
5dec0e0beb
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
--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione
918ed6c474
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
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178
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
6476f95b13
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
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb
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
c276bb9375
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
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
DimiL
316d8a2562
Bug 1407879 - Add testcase for login reputation service. r=francois
...
MozReview-Commit-ID: HhvPqTTz7pg
--HG--
extra : rebase_source : 67b87e0e6265cce47902ea586e40b32780b2319f
2018-01-04 09:14:15 +08:00
Florian Quèze
0f55cd45be
Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs.
2017-12-21 11:10:23 +01:00
Florian Quèze
032c961e0a
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01:00
Mark Banner
99e91ded27
Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components - Part 2. r=florian
...
MozReview-Commit-ID: 44oBXPP88Lc
--HG--
extra : rebase_source : 6625ac73eca1fa63d474eda3d1146baf910eac8c
2017-10-30 17:22:17 +00:00
Mark Banner
cf372ccd32
Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components - Part 1. r=mossop
...
MozReview-Commit-ID: BBnacIvRJBR
--HG--
extra : rebase_source : 10157c319a97b14c9a360a26a56725022df14ad4
2017-10-30 16:29:58 +00:00
Zibi Braniecki
4c3a3ac1fb
Bug 1410736
- Replace remaining uses of general.useragent.locale with LocaleService API. r=jfkthame
...
MozReview-Commit-ID: F0Ofe2lHHEo
--HG--
extra : rebase_source : 420c65111dc5066eb00ef86ddf375db533008bbf
2017-11-03 17:08:34 -07:00
Sebastian Hengst
eebc5b65c0
Backed out changeset 0637dca8a971 (bug 1410736
) for eslint failure at toolkit/components/extensions/test/xpcshell/test_ext_i18n_css.js:130: Unexpected var, use let or const instead. r=backout on a CLOSED TREE
2017-11-04 00:51:02 +01:00
Zibi Braniecki
5db1dc8a9d
Bug 1410736
- Replace remaining uses of general.useragent.locale with LocaleService API. r=jfkthame
...
MozReview-Commit-ID: CmXBFcKxOkX
--HG--
extra : rebase_source : deeeee81fd187aa9ca4f26f9f5c69633ff405e34
2017-11-02 14:11:41 -07:00
Paolo Amadini
98b8fb39b7
Bug 1411979 - Share the getTempFile function in xpcshell and browser tests. r=mak
...
MozReview-Commit-ID: 5hshgOrFqws
--HG--
extra : rebase_source : c7b173f7c2685c9522ef0626b74819273352a373
extra : source : 68e85782bbcab3c06e729551643bdc602cf8de71
2017-10-31 13:25:45 +00:00
Sebastian Hengst
7bf9eb161a
Backed out 2 changesets (bug 1411979) for failing xpcshell's toolkit/components/jsdownloads/test/unit/test_PrivateTemp.js. r=backout on a CLOSED TREE
...
Backed out changeset 7a4f33d16b9e (bug 1411979)
***
Backed out changeset 68e85782bbca (bug 1411979)
--HG--
extra : histedit_source : 0226bf9f95762ef7fe4e57aee97b96ae5deff496%2C066dd55855dbcbd146642acd72bcd4e5d8044a2f
2017-10-30 19:19:45 +01:00
Paolo Amadini
7e4a6c3456
Bug 1411979 - Share the getTempFile function in xpcshell and browser tests. r=mak
...
MozReview-Commit-ID: 5hshgOrFqws
--HG--
extra : rebase_source : 9377484a4416829e0bfbe30c70d434b331e7301c
2017-10-30 16:53:22 +00:00
DimiL
34c0f59f0b
Bug 1384753 - Move Application Reputation files into a new component. r=francois
...
--HG--
rename : toolkit/components/downloads/ApplicationReputation.cpp => toolkit/components/reputationservice/ApplicationReputation.cpp
rename : toolkit/components/downloads/ApplicationReputation.h => toolkit/components/reputationservice/ApplicationReputation.h
rename : toolkit/components/downloads/chromium/LICENSE => toolkit/components/reputationservice/chromium/LICENSE
rename : toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.pb.cc => toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.cc
rename : toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.pb.h => toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.h
rename : toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.proto => toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.proto
rename : toolkit/components/downloads/nsIApplicationReputation.idl => toolkit/components/reputationservice/nsIApplicationReputation.idl
rename : toolkit/components/downloads/test/unit/.eslintrc.js => toolkit/components/reputationservice/test/unit/.eslintrc.js
rename : toolkit/components/downloads/test/unit/data/block_digest.chunk => toolkit/components/reputationservice/test/unit/data/block_digest.chunk
rename : toolkit/components/downloads/test/unit/data/digest.chunk => toolkit/components/reputationservice/test/unit/data/digest.chunk
rename : toolkit/components/downloads/test/unit/data/signed_win.exe => toolkit/components/reputationservice/test/unit/data/signed_win.exe
rename : toolkit/components/downloads/test/unit/head_download_manager.js => toolkit/components/reputationservice/test/unit/head_download_manager.js
rename : toolkit/components/downloads/test/unit/xpcshell.ini => toolkit/components/reputationservice/test/unit/xpcshell.ini
extra : rebase_source : 0ee026299fbe2122f94588de63d46b3752bcf26d
2017-10-23 16:18:52 +08:00
Sebastian Hengst
0cd2b5d266
Backed out 2 changesets (bug 1384753) for frequently failing toolkit/components/extensions/test/mochitest/test_chrome_ext_downloads_saveAs.html on Android. r=backout on a CLOSED TREE
...
Backed out changeset 2f0da700e651 (bug 1384753)
Backed out changeset 9801aade9511 (bug 1384753)
--HG--
rename : toolkit/components/reputationservice/ApplicationReputation.cpp => toolkit/components/downloads/ApplicationReputation.cpp
rename : toolkit/components/reputationservice/ApplicationReputation.h => toolkit/components/downloads/ApplicationReputation.h
rename : toolkit/components/reputationservice/chromium/LICENSE => toolkit/components/downloads/chromium/LICENSE
rename : toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.cc => toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.pb.cc
rename : toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.h => toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.pb.h
rename : toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.proto => toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.proto
rename : toolkit/components/reputationservice/nsIApplicationReputation.idl => toolkit/components/downloads/nsIApplicationReputation.idl
rename : toolkit/components/reputationservice/test/unit/.eslintrc.js => toolkit/components/downloads/test/unit/.eslintrc.js
rename : toolkit/components/reputationservice/test/unit/data/block_digest.chunk => toolkit/components/downloads/test/unit/data/block_digest.chunk
rename : toolkit/components/reputationservice/test/unit/data/digest.chunk => toolkit/components/downloads/test/unit/data/digest.chunk
rename : toolkit/components/reputationservice/test/unit/data/signed_win.exe => toolkit/components/downloads/test/unit/data/signed_win.exe
rename : toolkit/components/reputationservice/test/unit/head_download_manager.js => toolkit/components/downloads/test/unit/head_download_manager.js
rename : toolkit/components/reputationservice/test/unit/xpcshell.ini => toolkit/components/downloads/test/unit/xpcshell.ini
2017-10-27 18:36:30 +02:00
DimiL
7a49148363
Bug 1384753 - Move Application Reputation files into a new component. r=francois
...
MozReview-Commit-ID: Ehi9IziJyXB
--HG--
rename : toolkit/components/downloads/ApplicationReputation.cpp => toolkit/components/reputationservice/ApplicationReputation.cpp
rename : toolkit/components/downloads/ApplicationReputation.h => toolkit/components/reputationservice/ApplicationReputation.h
rename : toolkit/components/downloads/chromium/LICENSE => toolkit/components/reputationservice/chromium/LICENSE
rename : toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.pb.cc => toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.cc
rename : toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.pb.h => toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.h
rename : toolkit/components/downloads/chromium/chrome/common/safe_browsing/csd.proto => toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.proto
rename : toolkit/components/downloads/nsIApplicationReputation.idl => toolkit/components/reputationservice/nsIApplicationReputation.idl
rename : toolkit/components/downloads/test/unit/.eslintrc.js => toolkit/components/reputationservice/test/unit/.eslintrc.js
rename : toolkit/components/downloads/test/unit/data/block_digest.chunk => toolkit/components/reputationservice/test/unit/data/block_digest.chunk
rename : toolkit/components/downloads/test/unit/data/digest.chunk => toolkit/components/reputationservice/test/unit/data/digest.chunk
rename : toolkit/components/downloads/test/unit/data/signed_win.exe => toolkit/components/reputationservice/test/unit/data/signed_win.exe
rename : toolkit/components/downloads/test/unit/head_download_manager.js => toolkit/components/reputationservice/test/unit/head_download_manager.js
rename : toolkit/components/downloads/test/unit/xpcshell.ini => toolkit/components/reputationservice/test/unit/xpcshell.ini
extra : rebase_source : 6bb39e940087ebd71208d868fda3aa85f6f63e23
2017-10-23 16:18:52 +08:00