Bug 1443429 - P1. Ensure that we don't run JS wrapper while in stable state. r=pehrsons

Due to the state watcher logic, mirror tasks can be dispatched while in stable state. We must not have visible aJS change during such stable state.

Differential Revision: https://phabricator.services.mozilla.com/D12699
This commit is contained in:
Jean-Yves Avenard
2018-12-13 20:04:46 +00:00
parent 5de51785cf
commit 97d5b62fcf
2 changed files with 19 additions and 7 deletions

View File

@@ -48,6 +48,7 @@
#include "jsapi.h"
#include "mozilla/ArrayUtils.h"
#include "mozilla/AsyncEventDispatcher.h"
#include "mozilla/AutoplayPermissionManager.h"
#include "mozilla/EMEUtils.h"
#include "mozilla/EventDispatcher.h"
#include "mozilla/EventStateManager.h"
@@ -60,7 +61,6 @@
#include "mozilla/Telemetry.h"
#include "mozilla/dom/AudioTrack.h"
#include "mozilla/dom/AudioTrackList.h"
#include "mozilla/AutoplayPermissionManager.h"
#include "mozilla/dom/BlobURLProtocolHandler.h"
#include "mozilla/dom/ElementInlines.h"
#include "mozilla/dom/HTMLAudioElement.h"