Backed out changeset 42afef8cda32 (bug 1443866) for failing browser-chrome's browser/base/content/test/webrtc/browser_devices_get_user_media_multi_process.js

This commit is contained in:
Sebastian Hengst 2018-03-12 19:59:02 +02:00
parent a40eef482a
commit f7b76851ba

View File

@ -89,7 +89,7 @@ var gTests = [
await BrowserTestUtils.removeTab(tab);
// Check that we still show the sharing indicators for the first tab's stream.
await TestUtils.waitForCondition(() => !webrtcUI.showCameraIndicator);
await promiseWaitForCondition(() => !webrtcUI.showCameraIndicator);
ok(webrtcUI.showGlobalIndicator, "webrtcUI wants the global indicator shown");
ok(!webrtcUI.showCameraIndicator, "webrtcUI wants the camera indicator hidden");
ok(webrtcUI.showMicrophoneIndicator, "webrtcUI wants the mic indicator shown");
@ -192,7 +192,7 @@ var gTests = [
await BrowserTestUtils.removeTab(tab);
// Check that we still show the sharing indicators for the first tab's stream.
await TestUtils.waitForCondition(() => !webrtcUI.showCameraIndicator);
await promiseWaitForCondition(() => webrtcUI.showCameraIndicator);
ok(webrtcUI.showGlobalIndicator, "webrtcUI wants the global indicator shown");
ok(webrtcUI.showCameraIndicator, "webrtcUI wants the camera indicator shown");
ok(!webrtcUI.showMicrophoneIndicator, "webrtcUI wants the mic indicator hidden");