зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1267443 - [devtools] Wait for test function to be imported into browser toolbox. r=jdescottes
We weren't waiting for assertion function to be evaluated in the console. This can later lead to ok/is functions being undefined when calling Toolbox.spawn. Differential Revision: https://phabricator.services.mozilla.com/D94279
This commit is contained in:
Родитель
7c1391669a
Коммит
17579d8c04
|
@ -96,7 +96,7 @@ async function initBrowserToolboxTask({
|
|||
);
|
||||
}
|
||||
|
||||
importFunctions({
|
||||
await importFunctions({
|
||||
info: msg => dump(msg + "\n"),
|
||||
is: (a, b, description) => {
|
||||
let msg =
|
||||
|
|
Загрузка…
Ссылка в новой задаче