mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
Bug 1766230 - Fix a couple of incorrect uses of Services.* properties in docshell tests. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D144552
This commit is contained in:
parent
67d70ae7b7
commit
d276554fa2
@ -15,7 +15,6 @@ XPCOMUtils.defineLazyModuleGetters(this, {
|
||||
TestUtils: "resource://testing-common/TestUtils.jsm",
|
||||
});
|
||||
|
||||
var dirSvc = Services.dirSvc;
|
||||
var profileDir = do_get_profile();
|
||||
|
||||
const kSearchEngineID = "test_urifixup_search_engine";
|
||||
|
@ -8,7 +8,7 @@ function run_test() {
|
||||
notifications++;
|
||||
},
|
||||
};
|
||||
Services.os.addObserver(obs, "last-pb-context-exited");
|
||||
Services.obs.addObserver(obs, "last-pb-context-exited");
|
||||
|
||||
run_test_in_child("../unit/test_pb_notification.js", function() {
|
||||
Assert.equal(notifications, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user