зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1673421 - [devtools] Remove double await in devtools codebase r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D94752
This commit is contained in:
Родитель
1950789dee
Коммит
1310ab1a6f
|
@ -19,7 +19,7 @@ add_task(async function() {
|
|||
|
||||
await getDebuggerSplitConsole(dbg);
|
||||
await hasConsoleMessage(dbg, "timer");
|
||||
const { link } = await await findConsoleMessage(dbg, "timer");
|
||||
const { link } = await findConsoleMessage(dbg, "timer");
|
||||
is(
|
||||
link,
|
||||
"simple-worker.js:4:9",
|
||||
|
|
|
@ -27,7 +27,7 @@ add_task(async function() {
|
|||
await sourceSeen;
|
||||
|
||||
info(`checking original location for ${JS_URL}:6`);
|
||||
const newLoc = await await new Promise(r =>
|
||||
const newLoc = await new Promise(r =>
|
||||
service.subscribeByURL(JS_URL, 6, 4, r)
|
||||
);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче