зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 8d42de3d9245 (bug 1443861) for landing without reviewer
This commit is contained in:
Родитель
442811682a
Коммит
bf660f16a4
|
@ -58,8 +58,8 @@ var gTests = [
|
|||
await closeStream();
|
||||
|
||||
// TODO(Bug 1304997): Fix the race in closeStream() and remove this
|
||||
// TestUtils.waitForCondition().
|
||||
await TestUtils.waitForCondition(() => !tab.getAttribute("sharing"));
|
||||
// promiseWaitForCondition().
|
||||
await promiseWaitForCondition(() => !tab.getAttribute("sharing"));
|
||||
is(tab.getAttribute("sharing"), "",
|
||||
"the tab no longer has the 'sharing' attribute after closing the stream");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче