зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1527350 - Fix the path of files used by chrome browser-element tests; r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D19520 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
3f2e7fbb67
Коммит
2cb5a6da9f
|
@ -5,6 +5,9 @@
|
|||
"use strict";
|
||||
|
||||
function _getPath() {
|
||||
if (window.location.protocol == "chrome:") {
|
||||
return "/chrome/dom/browser-element/mochitest";
|
||||
}
|
||||
return window.location.pathname
|
||||
.substring(0, window.location.pathname.lastIndexOf('/'))
|
||||
.replace("/priority", "");
|
||||
|
|
Загрузка…
Ссылка в новой задаче