зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1264291 - initEvent must unset the stop propagation flag; r=smaug
Tests upstream <https://github.com/w3c/web-platform-tests/pull/3472>.
This commit is contained in:
Родитель
ffe70cba70
Коммит
d41a879b6a
|
@ -598,6 +598,8 @@ Event::InitEvent(const nsAString& aEventTypeArg,
|
|||
mEvent->mFlags.mDefaultPrevented = false;
|
||||
mEvent->mFlags.mDefaultPreventedByContent = false;
|
||||
mEvent->mFlags.mDefaultPreventedByChrome = false;
|
||||
mEvent->mFlags.mPropagationStopped = false;
|
||||
mEvent->mFlags.mImmediatePropagationStopped = false;
|
||||
|
||||
// Clearing the old targets, so that the event is targeted correctly when
|
||||
// re-dispatching it.
|
||||
|
|
Загрузка…
Ссылка в новой задаче