зеркало из 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(
|
server.registerFile(
|
||||||
"/favicon.ico",
|
"/favicon.ico",
|
||||||
FileUtils.getFile(
|
new FileUtils.File(
|
||||||
"CurWorkD",
|
PathUtils.join(
|
||||||
`/browser/browser/base/content/test/favicons/no-store.png`.split("/")
|
Services.dirsvc.get("CurWorkD", Ci.nsIFile).path,
|
||||||
|
"browser",
|
||||||
|
"browser",
|
||||||
|
"base",
|
||||||
|
"content",
|
||||||
|
"test",
|
||||||
|
"favicons",
|
||||||
|
"no-store.png"
|
||||||
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
server.registerPathHandler("/page", (request, response) => {
|
server.registerPathHandler("/page", (request, response) => {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче