mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
2b8ca16f35
Adds an |aChromeOnlyDispatch| flag to DispatchCustomEvent to decide whether to call DispatchTrustEvent or DispatchEventOnlyToChrome. The following chrome-only events are dispatched with DispatchCustomEvent and now make use of the flag: - DOMWindowClose - fullscreen / willenterfullscreen / willexitfullscreen - occlusionstatechange - resolutionchange - XULAlertClose and the following were previously dispatched with DispatchTrustedEvent and now use DispatchEventOnlyToChrome: - MozBeforeInitialXULLayout - MozMouseScrollFailed / MozMouseScrollTransactionTimeout - MozPaintWait / MozPaintWaitFinished - MozPerformDelayedBlur - all events fired by APZCCallbackHelper::NotifyMozMouseScrollEvent Differential Revision: https://phabricator.services.mozilla.com/D76723 |
||
---|---|---|
.. | ||
tests/chrome | ||
moz.build | ||
PrototypeDocumentContentSink.cpp | ||
PrototypeDocumentContentSink.h |