Boris Zbarsky
d0161062da
Bug 1551657 part 4. Stop using [array] in searchLogins. r=MattN
...
Audited https://searchfox.org/mozilla-central/search?q=%5B%5EA-Za-z_%5D%5BsS%5DearchLogins%5B%5EA-Za-z_%5D&case=true®exp=true&path=
Differential Revision: https://phabricator.services.mozilla.com/D31120
--HG--
extra : moz-landing-system : lando
2019-05-14 19:32:17 +00:00
Boris Zbarsky
47a701ff47
Bug 1551657 part 3. Stop using [array] in findLogins. r=MattN
...
I audited the results from
https://searchfox.org/mozilla-central/search?q=%5B%5EA-Za-z_%5D%5BFf%5DindLogins%5B%5EA-Za-z_%5D&case=true®exp=true&path=
Differential Revision: https://phabricator.services.mozilla.com/D31119
--HG--
extra : moz-landing-system : lando
2019-05-14 19:28:52 +00:00
Boris Zbarsky
fd4dae89f0
Bug 1551657 part 1. Stop using [array] in getAllLogins. r=MattN
...
I audited all the callsites
https://searchfox.org/mozilla-central/search?q=%5B%5EA-Za-z_%5D%5BGg%5DetAllLogins%5B%5EA-Za-z_%5D&case=true®exp=true&path=
brings up.
Differential Revision: https://phabricator.services.mozilla.com/D31117
--HG--
extra : moz-landing-system : lando
2019-05-14 19:28:51 +00:00
Mathieu Leplatre
64e548abb4
Bug 1549730 - Add guardrails for Remote Settings preferences r=glasserc
...
Differential Revision: https://phabricator.services.mozilla.com/D31043
--HG--
extra : moz-landing-system : lando
2019-05-14 20:45:03 +00:00
Mathieu Leplatre
78ecdc82c5
Bug 1546912 - Dedicated signature tests for Remote Settings r=glasserc
...
Differential Revision: https://phabricator.services.mozilla.com/D30650
--HG--
rename : services/common/tests/moz.build => services/settings/test/unit/moz.build
rename : services/common/tests/unit/test_blocklist_signatures.js => services/settings/test/unit/test_remote_settings_signatures.js
rename : services/common/tests/unit/test_blocklist_signatures/collection_signing_ee.pem.certspec => services/settings/test/unit/test_remote_settings_signatures/collection_signing_ee.pem.certspec
rename : services/common/tests/unit/test_blocklist_signatures/collection_signing_int.pem.certspec => services/settings/test/unit/test_remote_settings_signatures/collection_signing_int.pem.certspec
rename : services/common/tests/unit/test_blocklist_signatures/collection_signing_root.pem.certspec => services/settings/test/unit/test_remote_settings_signatures/collection_signing_root.pem.certspec
rename : services/common/tests/unit/test_blocklist_signatures/moz.build => services/settings/test/unit/test_remote_settings_signatures/moz.build
extra : moz-landing-system : lando
2019-05-13 17:04:26 +00:00
Mathieu Leplatre
7242d228b7
Bug 1551347 - Fix Uptake Telemetry test failure if channel is release r=glasserc
...
Differential Revision: https://phabricator.services.mozilla.com/D31005
--HG--
extra : moz-landing-system : lando
2019-05-14 13:13:23 +00:00
Mathieu Leplatre
1b7f443dab
Bug 1547995
- Add option to Remote Settings get() to verify signatures on read r=glasserc
...
Differential Revision: https://phabricator.services.mozilla.com/D30357
--HG--
extra : moz-landing-system : lando
2019-05-13 09:31:18 +00:00
Mathieu Leplatre
268d77c37f
Bug 1547995
- Upgrade kinto-offline-client.js to v12.4.0 r=glasserc
...
Differential Revision: https://phabricator.services.mozilla.com/D30356
--HG--
extra : moz-landing-system : lando
2019-05-13 09:30:54 +00:00
ffxbld
978abcee6f
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D30903
--HG--
extra : moz-landing-system : lando
2019-05-13 12:59:57 +00:00
Narcis Beleuzu
035ea12dc3
Backed out 2 changesets (bug 1547995
) for xpcshell failures on /test_remote_settings.js . CLOSED TREE
...
Backed out changeset 0bcfcc0bbc65 (bug 1547995
)
Backed out changeset 411f5783f046 (bug 1547995
)
2019-05-12 14:18:35 +03:00
Mathieu Leplatre
ef330e79c1
Bug 1547995
- Add option to Remote Settings get() to verify signatures on read r=glasserc
...
Differential Revision: https://phabricator.services.mozilla.com/D30357
--HG--
extra : moz-landing-system : lando
2019-05-09 16:38:57 +00:00
Mathieu Leplatre
62f3958c34
Bug 1547995
- Upgrade kinto-offline-client.js to v12.4.0 r=glasserc
...
Differential Revision: https://phabricator.services.mozilla.com/D30356
--HG--
extra : moz-landing-system : lando
2019-05-09 16:38:56 +00:00
Mathieu Leplatre
a66d81bdb1
Bug 1501214 - Reusable helper to download Remote Settings attachments r=nanj,glasserc,Gijs
...
Reusable helper to download Remote Settings attachments
Differential Revision: https://phabricator.services.mozilla.com/D28707
--HG--
extra : moz-landing-system : lando
2019-05-10 22:57:40 +00:00
ffxbld
6b6a4743bb
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D30488
--HG--
extra : moz-landing-system : lando
2019-05-09 12:41:52 +00:00
Andreea Pavel
67007aabfa
Backed out changeset 7e1942ace2b2 (bug 1501214) for failing test_attachments_downloader.js on a CLOSED TREE
2019-05-08 21:12:06 +03:00
Mathieu Leplatre
54094a0078
Bug 1501214 - Reusable helper to download Remote Settings attachments r=nanj,glasserc,Gijs
...
Reusable helper to download Remote Settings attachments
Differential Revision: https://phabricator.services.mozilla.com/D28707
--HG--
extra : moz-landing-system : lando
2019-05-08 16:18:07 +00:00
Mathieu Leplatre
3f60f66f05
Bug 1547994 - Remove preference that can disable Remote Settings signature verification r=glasserc
...
Differential Revision: https://phabricator.services.mozilla.com/D29656
--HG--
extra : moz-landing-system : lando
2019-05-07 14:16:22 +00:00
Gijs Kruitbosch
509b7f217a
Bug 1257565 - move addon blocklist tests from services/common to the blocklist dir, r=leplatrem
...
Differential Revision: https://phabricator.services.mozilla.com/D29835
--HG--
rename : services/common/tests/unit/test_blocklist_clients.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_clients.js
rename : services/common/tests/unit/test_blocklist_targetapp_filter.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_targetapp_filter.js
extra : moz-landing-system : lando
2019-05-07 00:56:01 +00:00
Gijs Kruitbosch
d773fd23da
Bug 1257565 - add remote settings support for plugin and addon blocklist, r=aswan
...
MozReview-Commit-ID: AiGycyhGUta
Differential Revision: https://phabricator.services.mozilla.com/D29834
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklist_appversion.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_appversion.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklist_metadata_filters.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_metadata_filters.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklist_osabi.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_osabi.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklist_plugin_flashonly.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_plugin_flashonly.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklist_plugin_outdated.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_plugin_outdated.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklist_plugin_regexp.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_plugin_regexp.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklist_plugin_severities.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_plugin_severities.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklist_prefs.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_prefs.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklist_severities.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_severities.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklistchange.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklistchange.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_pluginBlocklistCtp.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_pluginBlocklistCtp.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_pluginInfoURL.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_pluginInfoURL.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_softblocked.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_softblocked.js
extra : moz-landing-system : lando
2019-05-07 00:55:53 +00:00
Gijs Kruitbosch
d8a027e065
Bug 1257565 - switch gfx blocklist over to kinto-based storage, r=leplatrem,aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D29833
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist.xml => toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist2.xml => toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist2.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist_AllOS.xml => toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist_AllOS.json
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist_OSVersion.xml => toolkit/mozapps/extensions/test/xpcshell/data/test_gfxBlacklist_OSVersion.json
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/head.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/head.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_blocklist_gfx.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_blocklist_gfx.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Device.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Device.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_DriverNew.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_DriverNew.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Equal_DriverNew.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Equal_DriverNew.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Equal_DriverOld.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Equal_DriverOld.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Equal_OK.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Equal_OK.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_GTE_DriverOld.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_GTE_DriverOld.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_GTE_OK.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_GTE_OK.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_No_Comparison.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_No_Comparison.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OK.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OK.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OS.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OS.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OSVersion_match.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OSVersion_match.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OSVersion_mismatch_DriverVersion.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OSVersion_mismatch_DriverVersion.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_OSVersion_mismatch_OSVersion.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_OSVersion_mismatch_OSVersion.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Vendor.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Vendor.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_Version.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_Version.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/test_gfxBlacklist_prefs.js => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/test_gfxBlacklist_prefs.js
rename : toolkit/mozapps/extensions/test/xpcshell/xml-blocklist/xpcshell.ini => toolkit/mozapps/extensions/test/xpcshell/rs-blocklist/xpcshell.ini
extra : moz-landing-system : lando
2019-05-07 00:55:32 +00:00
Lina Cambridge
542d414ea3
Bug 1548884 - Enable the synced bookmarks mirror on Nightly and Beta. r=tcsc
...
The number of Sync users on these channels is low compared to Release,
so we can do this without a gradual rollout. This also lets more users
test the new bookmark sync engine without manually flipping the pref.
Differential Revision: https://phabricator.services.mozilla.com/D29859
--HG--
extra : moz-landing-system : lando
2019-05-06 20:40:20 +00:00
ffxbld
193d49c8b1
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D30017
--HG--
extra : moz-landing-system : lando
2019-05-06 13:28:03 +00:00
Honza Bambas
2555fb9646
Bug 1545420 - Allow extensions to set Proxy-Authorization and connection isolation key through proxy.onRequest, r=dragana,mixedpuppy+mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D29825
--HG--
extra : moz-landing-system : lando
2019-05-06 07:22:18 +00:00
Dana Keeler
399a45f767
bug 1546361 - recreate cert_storage data as necessary r=jcj,myk
...
It turns out that an rkv database created on a 32-bit platform cannot be used on
a 64-bit platform and vice-versa. To work around this for now, we delete and
recreate the DB backing cert_storage and set flags to let our consumers know
to re-load all known data.
Differential Revision: https://phabricator.services.mozilla.com/D29591
--HG--
extra : moz-landing-system : lando
2019-05-03 23:41:17 +00:00
Dana Keeler
f8e974fdd8
bug 1534600 - make nsIContentSignatureVerifier asynchronous r=KevinJacobs,mythmon,glasserc
...
Differential Revision: https://phabricator.services.mozilla.com/D29763
--HG--
extra : moz-landing-system : lando
2019-05-03 21:21:58 +00:00
Myk Melez
bfe7c7e0b4
Bug 1547877 - enable configuration of new cert storage implementation r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D29306
--HG--
extra : moz-landing-system : lando
2019-05-02 23:02:13 +00:00
Lina Cambridge
ea48c5e7eb
Bug 1546035 - Remove local and remote livemarks when syncing. r=mak,tcsc
...
This commit exports livemarks before syncing for the first time, to
avoid losing livemarks that Sync may have resurrected. As of v0.2.4,
Dogear treats livemarks as non-syncable, and deletes them on both
sides.
This also bumps the mirror schema version, to trigger a first sync.
Differential Revision: https://phabricator.services.mozilla.com/D28543
--HG--
extra : moz-landing-system : lando
2019-05-02 08:03:36 +00:00
Edouard Oger
ac739078cc
Bug 1547398 - Allow fxa_status when isPairing is sent. r=vladikoff
...
Differential Revision: https://phabricator.services.mozilla.com/D29082
--HG--
extra : moz-landing-system : lando
2019-05-02 17:33:50 +00:00
ffxbld
7667ecf1f2
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D29660
--HG--
extra : moz-landing-system : lando
2019-05-02 12:44:14 +00:00
ffxbld
92b29da4c1
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D29191
--HG--
extra : moz-landing-system : lando
2019-04-29 12:34:29 +00:00
Myk Melez
e78c3248d7
Bug 1539549
- update cert blocklist using single transaction r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D28540
--HG--
extra : moz-landing-system : lando
2019-04-26 20:10:59 +00:00
Mathieu Leplatre
6083edb468
Bug 1546525 - Fix intermittent failure between blocklist clients tests and security settings r=glasserc,mgoodwin
...
Fix intermittent failure between blocklist clients tests and security settings
Differential Revision: https://phabricator.services.mozilla.com/D28974
--HG--
extra : moz-landing-system : lando
2019-04-26 14:36:22 +00:00
ffxbld
b78b626840
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D28825
--HG--
extra : moz-landing-system : lando
2019-04-25 12:52:51 +00:00
Mathieu Leplatre
582063c263
Bug 1512451
- Read OneCRL blocklist from security-states/onecrl r=jcj,mgoodwin,glasserc
...
Read OneCRL blocklist from security-states/onecrl
Differential Revision: https://phabricator.services.mozilla.com/D23645
--HG--
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_blocklist_onecrl.js
extra : moz-landing-system : lando
2019-04-24 14:52:13 +00:00
Andreea Pavel
75578f7684
Backed out changeset a19d696f96fb (bug 1512451
) for failing bc at browser_all_files_referenced.js on a CLOSED TREE
...
--HG--
rename : services/common/tests/unit/test_blocklist_onecrl.js => services/common/tests/unit/test_blocklist_certificates.js
2019-04-24 00:59:27 +03:00
Mathieu Leplatre
6e4798bb72
Bug 1512451
- Read OneCRL blocklist from security-states/onecrl r=jcj,mgoodwin,glasserc
...
Read OneCRL blocklist from security-states/onecrl
Differential Revision: https://phabricator.services.mozilla.com/D23645
--HG--
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_blocklist_onecrl.js
extra : moz-landing-system : lando
2019-04-23 18:40:40 +00:00
ffxbld
0b4d03afbc
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D28331
--HG--
extra : moz-landing-system : lando
2019-04-22 12:51:53 +00:00
Arpit
474e467436
Bug 1483077 - Replaced reference to getBrowser with gBrowser r=robwu,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D27418
--HG--
extra : moz-landing-system : lando
2019-04-17 00:04:54 +00:00
ffxbld
883df980b7
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D28055
--HG--
extra : moz-landing-system : lando
2019-04-18 13:07:37 +00:00
Rob Wu
4a6f84f91d
Bug 1544834 - Replace deprecated generics in test code r=evilpie
...
- `Array.map` becomes `Array.from`
- Array copying via `Array.slice` becomes `Array.from`.
- `Array.forEach` that did not rely on closures becomes `for`-`of` loops.
- Anything else: `Array.X` becomes `Array.prototype.X`.
Complex cases:
dom/bindings/test/TestInterfaceJS.js and
dom/bindings/test/test_exception_options_from_jsimplemented.html
use `Array.indexOf` to generate an error with a specific error message.
Switched to `Array.prototype.forEach` to generate the same error.
js/src/jit-test/tests/basic/exception-column-number.js
In this test `Array.indexOf()` is used to generate an error. Since the
exact message doesn't matter, I switched to `Array.from()`.
Intentionally not changed:
editor/libeditor/tests/browserscope/lib/richtext/richtext/js/range.js
Did not modify because this is 3rd-party code and the code uses
feature detection as a fall back when Array generics are not used.
testing/talos/talos/tests/dromaeo/lib/mootools.js
Did not modify because mootools adds the `Array.slice` method to the
`Array` object.
Not changed because they check the implementation of Array generics:
js/src/jit-test/tests/basic/arrayNatives.js
js/src/jit-test/tests/basic/bug563243.js
js/src/jit-test/tests/basic/bug618853.js
js/src/jit-test/tests/basic/bug830967.js
js/src/jit-test/tests/jaeger/recompile/bug656753.js
js/src/jit-test/tests/self-hosting/alternate-static-and-instance-array-extras.js
js/src/tests/non262/Array/generics.js
js/src/tests/non262/Array/regress-415540.js
js/src/tests/non262/extensions/regress-355497.js
js/src/tests/non262/extensions/typedarray-set-neutering.js
Depends on D27802
Differential Revision: https://phabricator.services.mozilla.com/D27803
--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:19 +00:00
Rob Wu
1af4c55c01
Bug 1544834 - Replace non-test uses of deprecated Array generics r=evilpie,dao
...
- `Array.forEach` becomes for-of loop or `array.forEach`.
- `Array.slice(a)` or `Array.slice(a, 0)` becomes `Array.from(a)`.
- `Array.map` becomes `Array.from`
- `Array` copy + concatenation becomes Array literal + spread syntax.
- All other `Array.X(a, ...)` become `Array.prototype.X.call` or `Array.from(a).X(...)`
Differential Revision: https://phabricator.services.mozilla.com/D27802
--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:17 +00:00
Mark Banner
b4188e9463
Bug 1532170 - Move search ignorelist data to RemoteSettings. r=mikedeboer,glasserc
...
Differential Revision: https://phabricator.services.mozilla.com/D25382
--HG--
extra : moz-landing-system : lando
2019-04-18 08:50:31 +00:00
Barret Rennie
48cd738b02
Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
...
Differential Revision: https://phabricator.services.mozilla.com/D26593
--HG--
extra : moz-landing-system : lando
2019-04-15 19:26:18 +00:00
Barret Rennie
7df18942bd
Bug 1536170 - Add unit tests for Async.yieldingForEach() r=tcsc
...
Differential Revision: https://phabricator.services.mozilla.com/D26592
--HG--
extra : moz-landing-system : lando
2019-04-15 19:26:16 +00:00
Barret Rennie
46fd11fd0d
Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
...
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.
Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:
* `Async.yieldingIterator`, which has been rewritten to not create extraneous
promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
`Async.jankYielder` in a loop. Instead, it accepts the loop body as a
function.
Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.
Differential Revision: https://phabricator.services.mozilla.com/D26229
--HG--
extra : moz-landing-system : lando
2019-04-17 03:00:35 +00:00
Brian Grinstead
6515f97bcb
Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
...
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.
Differential Revision: https://phabricator.services.mozilla.com/D26812
--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
ffxbld
d640f895d3
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D27496
--HG--
extra : moz-landing-system : lando
2019-04-15 12:31:27 +00:00
Csoregi Natalia
7af4153e81
Backed out 3 changesets (bug 1536170) for xpcshell failures on test_bookmark_repair.js. CLOSED TREE
...
Backed out changeset e41b319d7243 (bug 1536170)
Backed out changeset 0d8c58e90773 (bug 1536170)
Backed out changeset 19c23f03b471 (bug 1536170)
2019-04-13 00:39:14 +03:00
Barret Rennie
f584c090db
Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
...
Differential Revision: https://phabricator.services.mozilla.com/D26593
--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:26 +00:00
Barret Rennie
72551e1659
Bug 1536170 - Add unit tests for Async.yieldingForEach() r=tcsc
...
Differential Revision: https://phabricator.services.mozilla.com/D26592
--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:08 +00:00