зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1542885 - Make some event related atoms static in order to reduce content process memory usage; r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D51488 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2843abc6be
Коммит
4e7fddabcb
|
@ -1889,6 +1889,59 @@ STATIC_ATOMS = [
|
|||
Atom("onmozvisualresize", "onmozvisualresize"),
|
||||
Atom("onmozvisualscroll", "onmozvisualscroll"),
|
||||
|
||||
# Miscellaneous events included for memory usage optimization (see bug 1542885)
|
||||
Atom("onDOMAutoComplete", "onDOMAutoComplete"),
|
||||
Atom("onDOMContentLoaded", "onDOMContentLoaded"),
|
||||
Atom("onDOMDocElementInserted", "onDOMDocElementInserted"),
|
||||
Atom("onDOMFormBeforeSubmit", "onDOMFormBeforeSubmit"),
|
||||
Atom("onDOMFormHasPassword", "onDOMFormHasPassword"),
|
||||
Atom("onDOMFrameContentLoaded", "onDOMFrameContentLoaded"),
|
||||
Atom("onDOMHeadElementParsed", "onDOMHeadElementParsed"),
|
||||
Atom("onDOMInputPasswordAdded", "onDOMInputPasswordAdded"),
|
||||
Atom("onDOMLinkAdded", "onDOMLinkAdded"),
|
||||
Atom("onDOMLinkChanged", "onDOMLinkChanged"),
|
||||
Atom("onDOMMetaAdded", "onDOMMetaAdded"),
|
||||
Atom("onDOMMetaChanged", "onDOMMetaChanged"),
|
||||
Atom("onDOMMetaRemoved", "onDOMMetaRemoved"),
|
||||
Atom("onDOMPopupBlocked", "onDOMPopupBlocked"),
|
||||
Atom("onDOMTitleChanged", "onDOMTitleChanged"),
|
||||
Atom("onDOMWindowClose", "onDOMWindowClose"),
|
||||
Atom("onDOMWindowCreated", "onDOMWindowCreated"),
|
||||
Atom("onDOMWindowFocus", "onDOMWindowFocus"),
|
||||
Atom("onFullZoomChange", "onFullZoomChange"),
|
||||
Atom("onGloballyAutoplayBlocked", "onGloballyAutoplayBlocked"),
|
||||
Atom("onHiddenPlugin", "onHiddenPlugin"),
|
||||
Atom("onImageContentLoaded", "onImageContentLoaded"),
|
||||
Atom("onMozApplicationManifest", "onMozApplicationManifest"),
|
||||
Atom("onMozDOMFullscreen_Entered", "onMozDOMFullscreen:Entered"),
|
||||
Atom("onMozDOMFullscreen_Exit", "onMozDOMFullscreen:Exit"),
|
||||
Atom("onMozDOMFullscreen_Exited", "onMozDOMFullscreen:Exited"),
|
||||
Atom("onMozDOMFullscreen_NewOrigin", "onMozDOMFullscreen:NewOrigin"),
|
||||
Atom("onMozDOMFullscreen_Request", "onMozDOMFullscreen:Request"),
|
||||
Atom("onMozDOMPointerLock_Entered", "onMozDOMPointerLock:Entered"),
|
||||
Atom("onMozDOMPointerLock_Exited", "onMozDOMPointerLock:Exited"),
|
||||
Atom("onMozInvalidForm", "onMozInvalidForm"),
|
||||
Atom("onMozLocalStorageChanged", "onMozLocalStorageChanged"),
|
||||
Atom("onMozOpenDateTimePicker", "onMozOpenDateTimePicker"),
|
||||
Atom("onMozSessionStorageChanged", "onMozSessionStorageChanged"),
|
||||
Atom("onMozTogglePictureInPicture", "onMozTogglePictureInPicture"),
|
||||
Atom("onPluginBindingAttached", "onPluginBindingAttached"),
|
||||
Atom("onPluginCrashed", "onPluginCrashed"),
|
||||
Atom("onPluginInstantiated", "onPluginInstantiated"),
|
||||
Atom("onPluginOutdated", "onPluginOutdated"),
|
||||
Atom("onPluginRemoved", "onPluginRemoved"),
|
||||
Atom("onPrintingError", "onPrintingError"),
|
||||
Atom("onTextZoomChange", "onTextZoomChange"),
|
||||
Atom("onUAWidgetSetupOrChange", "onUAWidgetSetupOrChange"),
|
||||
Atom("onUAWidgetTeardown", "onUAWidgetTeardown"),
|
||||
Atom("onUnselectedTabHover_Disable", "onUnselectedTabHover:Disable"),
|
||||
Atom("onUnselectedTabHover_Enable", "onUnselectedTabHover:Enable"),
|
||||
Atom("onZoomChangeUsingMouseWheel", "onZoomChangeUsingMouseWheel"),
|
||||
Atom("onmozshowdropdown", "onmozshowdropdown"),
|
||||
Atom("onmozshowdropdown_sourcetouch", "onmozshowdropdown-sourcetouch"),
|
||||
Atom("onprintPreviewUpdate", "onprintPreviewUpdate"),
|
||||
Atom("onscrollend", "onscrollend"),
|
||||
|
||||
# WebExtensions
|
||||
Atom("moz_extension", "moz-extension"),
|
||||
Atom("all_urlsPermission", "<all_urls>"),
|
||||
|
|
Загрузка…
Ссылка в новой задаче