зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1747461 - Remove FileUtils.getFile from browser/base r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D134896
This commit is contained in:
Родитель
8ac5a0db96
Коммит
fc95d2558c
|
@ -116,9 +116,17 @@ add_task(async function root_icon_stored() {
|
|||
});
|
||||
server.registerFile(
|
||||
"/favicon.ico",
|
||||
FileUtils.getFile(
|
||||
"CurWorkD",
|
||||
`/browser/browser/base/content/test/favicons/no-store.png`.split("/")
|
||||
new FileUtils.File(
|
||||
PathUtils.join(
|
||||
Services.dirsvc.get("CurWorkD", Ci.nsIFile).path,
|
||||
"browser",
|
||||
"browser",
|
||||
"base",
|
||||
"content",
|
||||
"test",
|
||||
"favicons",
|
||||
"no-store.png"
|
||||
)
|
||||
)
|
||||
);
|
||||
server.registerPathHandler("/page", (request, response) => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче