Граф коммитов

5634 Коммитов

Автор SHA1 Сообщение Дата
Mathieu Leplatre ad6b27eaf9 Bug 1556761 - Stop logging 'Initialize remote settings' all the time r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33692

--HG--
extra : moz-landing-system : lando
2019-06-05 08:05:43 +00:00
Matthew Noorenberghe 7d5f0874a4 Bug 1148205 - Replace misnamed `formSubmitURL` and `hostname` properties on nsILoginInfo in services/fxaccounts/ r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D33348

--HG--
extra : moz-landing-system : lando
2019-06-05 03:59:55 +00:00
Matthew Noorenberghe e7afdd4c3e Bug 1148205 - Replace misnamed `formSubmitURL` and `hostname` properties on nsILoginInfo in services/sync/ r=markh,tcsc
Differential Revision: https://phabricator.services.mozilla.com/D33347

--HG--
extra : moz-landing-system : lando
2019-06-05 03:59:46 +00:00
Lina Cambridge ede2c0b68a Bug 1552621 - Include optional steps in Sync engine telemetry. r=tcsc,tdsmith
Before this commit, we used event telemetry to record timing and counts
for the different steps of a bookmark merge (fetching the local tree,
new local contents, remote tree, and new remote contents; merging;
applying; fetching outgoing records; and notifying observers).

This has several limitations. We need to store all numbers as strings,
include a "flow ID" to tag events from the same merge, and collect
failure reasons twice. We also can't correlate these events to the
existing engine telemetry, meaning we can't see other stats for that
engine, or for the entire sync. Finally, we need to run separate
queries on these events for analysis, instead of extending our
existing engine dashboards.

This approach also feels like an abuse of event telemetry, so this
commit adds a "steps" field for each engine in the Sync ping. Each step
has a name, time taken, and additional named counts, like the number of
items in the tree, or merged structure stats.

Currently, only the `buffered-bookmarks` engine records these steps.

Differential Revision: https://phabricator.services.mozilla.com/D33411

--HG--
extra : moz-landing-system : lando
2019-06-04 20:08:07 +00:00
Lina Cambridge efa5e0cc06 Bug 1552621 - Record bookmark validation telemetry for the buffered engine. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D33410

--HG--
extra : moz-landing-system : lando
2019-06-04 20:08:51 +00:00
Lina Cambridge 0c9500bf00 Bug 1552621 - Record shutdown blocker progress in the bookmarks mirror. r=markh,tcsc
This commit introduces a `mozISyncedBookmarksMirrorProgressListener`
interface for capturing telemetry and updating shutdown blocker state
after each step of the merge, instead of waiting until the end. This
also means we can also record events for interrupted and failed merges,
and pass validation data through to the Sync ping.

Shutdown hang crash reports now have a `steps` field, indicating the
sequence of completed steps and when they were recorded. If the last
step in the hang report is `fetchLocalTree`, we know the merger is
blocked on `fetchNewLocalContents`. If the last step is
`fetchNewLocalContents`, the merger is stuck at `fetchRemoteTree`,
since that's the next step after `fetchNewLocalContents`.

This commit also implements `Driver::record_telemetry_event` to
dispatch progress callback runnables to the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D31950

--HG--
extra : moz-landing-system : lando
2019-06-03 23:04:37 +00:00
Coroiu Cristina 598c42a9d2 Backed out changeset 8aca39389e35 (bug 1555771) for browser-chrome failures at browser/components/extensions/test/browser/browser_ext_tabs_events.js 2019-06-04 03:22:59 +03:00
Edouard Oger 6387709163 Bug 1555771 - Update Sync and FxA illustrations. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D33234

--HG--
extra : moz-landing-system : lando
2019-06-03 21:24:42 +00:00
shindli 7849b17acb Backed out changeset 7f8884b7de4e (bug 1555771) for causing perma browser chrome failures in browser/base/content/test/sync/browser_sync.js CLOSED TREE 2019-06-03 22:14:42 +03:00
Edouard Oger 52eba7cee8 Bug 1555771 - Update Sync and FxA illustrations. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D33234

--HG--
extra : moz-landing-system : lando
2019-06-03 17:33:47 +00:00
Mathieu Leplatre 80c3d0b5ca Bug 1553831 - Fetch metadata on sync even if local data is up-to-date r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32769

--HG--
extra : moz-landing-system : lando
2019-06-03 10:02:13 +00:00
Mathieu Leplatre 921d7af3d5 Bug 1553831 - Minor cleanups in Remote Settings client r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32768

--HG--
extra : moz-landing-system : lando
2019-06-03 09:59:29 +00:00
ffxbld 5cd2a9bc7d 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/D33506

--HG--
extra : moz-landing-system : lando
2019-06-03 15:44:26 +00:00
Brian Grinstead 402bc3a970 Bug 1553188 - Part 4 - Update remaining references to browser.xul;r=bdahl
These are generally:
- Code comments to browser.xhtml
- Testcases, assertions that were mostly using browser.xul as a generic chrome URL
- References to the browser.xul path in tree

Differential Revision: https://phabricator.services.mozilla.com/D33208
2019-05-28 16:40:42 -07:00
Dorel Luca 5e31d37927 Backed out 2 changesets (bug 1553831) for XPCshell failure in services/settings/test/unit/test_remote_settings.js
Backed out changeset d03a51956262 (bug 1553831)
Backed out changeset 4f62dfaee27f (bug 1553831)
2019-05-31 14:43:50 +03:00
Mathieu Leplatre 365261e7d6 Bug 1553995 - Remote Settings should not throw with dummy server r=glasserc,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D32549

--HG--
extra : moz-landing-system : lando
2019-05-31 09:53:05 +00:00
Mathieu Leplatre f4957e385f Bug 1553831 - Fetch metadata on sync even if local data is up-to-date r=glasserc
Depends on D32768

Differential Revision: https://phabricator.services.mozilla.com/D32769

--HG--
extra : moz-landing-system : lando
2019-05-30 19:48:49 +00:00
Mathieu Leplatre 13c9f8aeb9 Bug 1553831 - Minor cleanups in Remote Settings client r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32768

--HG--
extra : moz-landing-system : lando
2019-05-28 13:58:29 +00:00
ffxbld 669d19df08 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/D33154

--HG--
extra : moz-landing-system : lando
2019-05-30 13:07:37 +00:00
Tom Ritter 11e541177c Bug 1539595 - Reject FXA messages if they don't come from the correct type of process r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D30277

--HG--
extra : moz-landing-system : lando
2019-05-29 11:32:15 +00:00
ffxbld dafef8c4a2 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/D32686

--HG--
extra : moz-landing-system : lando
2019-05-28 20:34:21 +00:00
Sebastian Hengst fba75a919c Backed out 4 changesets (bug 1539595) for build bustage in nsAboutRedirector.cpp. CLOSED TREE
Backed out changeset 2b0bb889b087 (bug 1539595)
Backed out changeset 95f0b82ec253 (bug 1539595)
Backed out changeset 6310e6dabceb (bug 1539595)
Backed out changeset ba3e353c6957 (bug 1539595)

--HG--
rename : browser/base/content/test/tabs/browser_e10s_about_page_triggeringprincipal.js => browser/base/content/test/general/browser_e10s_about_page_triggeringprincipal.js
rename : browser/base/content/test/tabs/browser_e10s_about_process.js => browser/base/content/test/general/browser_e10s_about_process.js
rename : browser/base/content/test/tabs/browser_e10s_chrome_process.js => browser/base/content/test/general/browser_e10s_chrome_process.js
rename : browser/base/content/test/tabs/browser_e10s_javascript.js => browser/base/content/test/general/browser_e10s_javascript.js
rename : browser/base/content/test/tabs/browser_e10s_switchbrowser.js => browser/base/content/test/general/browser_e10s_switchbrowser.js
rename : browser/base/content/test/tabs/file_about_child.html => browser/base/content/test/general/file_about_child.html
rename : browser/base/content/test/tabs/file_about_parent.html => browser/base/content/test/general/file_about_parent.html
rename : browser/base/content/test/tabs/test_process_flags_chrome.html => browser/base/content/test/general/test_process_flags_chrome.html
rename : browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js
2019-05-28 19:49:17 +02:00
Tom Ritter f94a4bdb87 Bug 1539595 - Reject FXA messages if they don't come from the correct type of process r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D30277

--HG--
extra : moz-landing-system : lando
2019-05-28 14:09:08 +00:00
Mathieu Leplatre 9871d095db Bug 1554178 - Disable events sampling for uptake telemetry tests r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32484

--HG--
extra : moz-landing-system : lando
2019-05-27 07:35:45 +00:00
Mathieu Leplatre 8708f07d79 Bug 1553797 - Fix OneCRL tests when MOZ_NEW_CERT_STORAGE is disabled r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D32331

--HG--
extra : moz-landing-system : lando
2019-05-24 14:32:13 +00:00
Narcis Beleuzu b9bb66c9e0 Backed out changeset 204c7f42d427 (bug 1554178) for xpcshell failures on test_remote_settings.js . CLOSED TREE 2019-05-25 02:41:41 +03:00
Mathieu Leplatre daebd4816c Bug 1554178 - Disable events sampling for uptake telemetry tests r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32484

--HG--
extra : moz-landing-system : lando
2019-05-24 16:23:31 +00:00
Mathieu Leplatre b538ac9a32 Bug 1553142 - Leverage ConsoleAPI in Remote Settings r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32138

--HG--
extra : moz-landing-system : lando
2019-05-22 14:01:53 +00:00
ffxbld 7107838f34 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D32310

--HG--
extra : moz-landing-system : lando
2019-05-23 13:21:24 +00:00
Mathieu Leplatre 8f123db7b9 Bug 1553145 - Improve Remote Settings documentation r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32130

--HG--
extra : moz-landing-system : lando
2019-05-23 09:19:37 +00:00
Michael Kaply 75cc987da6 Bug 1456140 - Remove unnecessary size args for getChildList. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D31631

--HG--
extra : moz-landing-system : lando
2019-05-21 06:20:40 +00:00
Mathieu Leplatre ecf5714fea Bug 1548542 - Remove notions of Kinto in blocklists unit tests r=keeler,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31221

--HG--
extra : moz-landing-system : lando
2019-05-22 11:25:04 +00:00
Mathieu Leplatre 8eb7224e54 Bug 1526018 - Initialize PSM clients in their own service r=Gijs,jcj
Differential Revision: https://phabricator.services.mozilla.com/D31603

--HG--
extra : moz-landing-system : lando
2019-05-21 21:14:11 +00:00
Mathieu Leplatre a93a98c46e Bug 1552199 - Include records from dump in Remote Settings sync event created data r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D31599

--HG--
extra : moz-landing-system : lando
2019-05-21 07:38:29 +00:00
Bogdan Tara 2c823b0508 Backed out changeset 6519e3500428 (bug 1552199) for test_remote_settings.js failures 2019-05-20 18:55:30 +03:00
Mathieu Leplatre 0c8c03610c Bug 1552199 - Include records from dump in Remote Settings sync event created data r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D31599

--HG--
extra : moz-landing-system : lando
2019-05-20 14:34:10 +00:00
Gurzau Raul c8aba9a691 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-20 16:47:30 +03:00
ffxbld 866936d99a Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-05-20 13:22:45 +00:00
Jonas Allmann 0d25b2aa37 Bug 1550473 - Remove ajv-4.1.1.js from eval()-whitelist. r=ckerschb
Allow eval() by flipping pref in all affected test files.

Differential Revision: https://phabricator.services.mozilla.com/D31771

--HG--
extra : moz-landing-system : lando
2019-05-20 13:20:16 +00:00
ffxbld 132d447ea6 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D31781

--HG--
extra : moz-landing-system : lando
2019-05-20 12:42:12 +00:00
Boris Zbarsky 048db3278e Bug 1551779 part 5. Stop using [array] for getTagsForURI. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D31242

--HG--
extra : moz-landing-system : lando
2019-05-16 14:03:54 +00:00
Ethan Glasser-Camp cb48225a1c Bug 1551952: Update kinto-offline-client.js to v12.4.2 r=leplatrem
This fixes the bug where the call to getData was not passing
authentication information.

Depends on D31379

Differential Revision: https://phabricator.services.mozilla.com/D31377

--HG--
extra : moz-landing-system : lando
2019-05-16 13:12:40 +00:00
ffxbld fc63b3d821 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D31422

--HG--
extra : moz-landing-system : lando
2019-05-16 13:00:29 +00:00
Mathieu Leplatre 929e1fb8fd Bug 1509267 - Cleanup Remote Settings worker when inactive r=glasserc,dthayer
Differential Revision: https://phabricator.services.mozilla.com/D31080

--HG--
extra : moz-landing-system : lando
2019-05-16 09:10:34 +00:00
Mathieu Leplatre 2282e96a6d Bug 1471522 - Move blocklist target app filter to Blocklist module r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31222

--HG--
extra : moz-landing-system : lando
2019-05-15 22:22:50 +00:00
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&regexp=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&regexp=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&regexp=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
Barret Rennie 27e15849d2 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-12 19:07:00 +00:00
Mathieu Leplatre 7cedc72b0d Bug 1539452 - Use TelemetryTestUtils.assertEvents() in Remote Settings tests r=glasserc
Use TelemetryTestUtils.assertEvents() in Remote Settings tests

Differential Revision: https://phabricator.services.mozilla.com/D27100

--HG--
extra : moz-landing-system : lando
2019-04-11 18:39:52 +00:00
Noemi Erli aa44fadac3 Backed out 3 changesets (bug 1536170) for xpcshell failures in test_bookmark_duping.js CLOSED TREE
Backed out changeset 57c26f8e0bf7 (bug 1536170)
Backed out changeset ccea2e827d9d (bug 1536170)
Backed out changeset 51a67bffd7d2 (bug 1536170)
2019-04-11 23:05:24 +03:00
Barret Rennie 1a53df3674 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-11 18:40:02 +00:00
Barret Rennie 82b99337ac 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-11 18:39:54 +00:00