Bug 1476934 - Disable the dump for the tippytop collection r=nanj

MozReview-Commit-ID: FC1FMmTHRuO

--HG--
extra : rebase_source : 3925ae10418e946190bec579e37dcb2dfafe4d62
This commit is contained in:
Mathieu Leplatre 2018-07-19 16:27:25 +02:00
parent 2169195cb0
commit defeec89e6
4 changed files with 5 additions and 5 deletions

View File

@ -150,7 +150,7 @@ browser/features/formautofill@mozilla.org/chrome/content/autofillEditForms.js
browser/chrome/browser/res/payments/formautofill/autofillEditForms.js
# Bug 1451050 - Remote settings empty dumps (will be populated with data eventually)
browser/defaults/settings/pinning/pins.json
browser/defaults/settings/main/tippytop.json
browser/defaults/settings/main/example.json
# Bug 1463748 - Fork and pref-off the new error pages
browser/chrome/browser/content/browser/aboutNetError-new.xhtml
browser/chrome/browser/content/browser/aboutNetError.xhtml

View File

@ -3,7 +3,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
FINAL_TARGET_FILES.defaults.settings.main += [
'tippytop.json',
'example.json',
]
if CONFIG['MOZ_BUILD_APP'] == 'browser':

View File

@ -501,7 +501,7 @@ add_task(async function test_syncs_clients_with_local_dump() {
last_modified: 8000,
host: "localhost",
bucket: "main",
collection: "tippytop"
collection: "example"
}]));
let error;
@ -513,9 +513,9 @@ add_task(async function test_syncs_clients_with_local_dump() {
// The `main/some-unknown` should be skipped because it has no dump.
// The `blocklists/addons` should be skipped because it is not the main bucket.
// The `tippytop` has a dump, and should cause a network error because the test
// The `example` has a dump, and should cause a network error because the test
// does not setup the server to receive the requests of `maybeSync()`.
Assert.ok(/HTTP 404/.test(error.message), "server will return 404 on sync");
Assert.equal(error.details.collection, "tippytop");
Assert.equal(error.details.collection, "example");
});
add_task(clear_state);