alwu c9f0d77260 Bug 1625099 - no need to wait for metadatachange. r=bryce
When controller gets deactivated, we would have had reset the display metadata already, so we can remove the promise for `metadatachange`.

The reason of causing failure is because `metadatachange` sometime would race with `deactivated`. If `metadatachange` gets dispatched after `deactivated`, we would miss that event.

The actual fix for event race will be handled in bug 1688507, this patch is simply fixing the failure.

Differential Revision: https://phabricator.services.mozilla.com/D102871
2021-01-25 20:30:45 +00:00
..