mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
Bug 1582053 - Disable the remote settings database creation instead of the server in web extension xpcshell tests; r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46664 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
78123454f5
commit
b234809417
@ -910,6 +910,14 @@ var ExtensionTestUtils = {
|
||||
"services.settings.server",
|
||||
"http://localhost:7777/remote-settings-dummy/v1"
|
||||
);
|
||||
// Make sure that loading the default settings for url-classifier-skip-urls
|
||||
// doesn't interfere with running our tests while IDB operations are in
|
||||
// flight by overriding the default remote settings bucket pref name to
|
||||
// ensure that the IDB database isn't created in the first place.
|
||||
Services.prefs.setStringPref(
|
||||
"services.settings.default_bucket",
|
||||
"nonexistent-bucket-foo"
|
||||
);
|
||||
},
|
||||
|
||||
addonManagerStarted: false,
|
||||
|
@ -17,6 +17,9 @@ add_task(async function test_userContextId_proxy_onRequest() {
|
||||
background() {
|
||||
browser.proxy.onRequest.addListener(
|
||||
async details => {
|
||||
if (details.url != "http://example.com/dummy") {
|
||||
return;
|
||||
}
|
||||
browser.test.assertEq(
|
||||
details.cookieStoreId,
|
||||
"firefox-container-2",
|
||||
|
Loading…
Reference in New Issue
Block a user