зеркало из https://github.com/mozilla/gecko-dev.git
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 |
||
---|---|---|
.. | ||
appshell |