Search completed in 1.40 seconds.
5 results for "domwindowcreated":
Frame script environment
Mozilla › Firefox › Multiprocess Leftovers › Frame script environment
a frame script environment: unload Fires when the frame script environment is shut down, i.e. when a tab gets closed. If you use a capturing event listener on the ContentFrameMessageManager, you should verify that its event.target is set to the ContentFrameMessageManager global object in order to avoid handling unload events from content. Does not bubble. DOMWindowCreated Fires when a new content object is created. This can be used if a framescript needs to interact with individual DOM windows instead of simply listening for events bubbling up from content. Another use is to interact with the content very early in the page load process, long before DOMContentLoaded event is fired. ...
Frame script environment
Mozilla › Firefox › Multiprocess Leftovers › Message Manager › Frame script environment
a frame script environment: unload Bubbles No Fires when the frame script environment is shut down, i.e. when a tab gets closed. If you use a capturing event listener on the ContentFrameMessageManager, you should verify that its event.target is set to the ContentFrameMessageManager global object to avoid handling unload events from content. DOMWindowCreated Fires when a new content object is created. This can be used if a framescript needs to interact with individual DOM windows instead of simply listening for events bubbling up from content. Another use is to interact with the content very early in the page load process, long before DOMContentLoaded event is fired. ...
Frame script loading and lifetime
Mozilla › Firefox › Multiprocess Leftovers › Message Manager › Frame script loading and lifetime
a page. So once you load them, they will stay loaded until the tab is closed, even if you reload the document or navigate. If you want to limit a script to the lifetime of a page you can create a Sandbox instead, where the current content page is used as prototype. If you want a frame script to do something when a new document is loaded, you need to listen for an appropriate DOM event, generally DOMWindowCreated, DOMContentLoaded, or load. Unloading frame scripts Frame scripts are automatically unloaded when their hosting tab is closed. There is currently no way to unload them when loaded, other than closing the tab they were loaded into. To listen for an event, when your frame script is unloaded (due to tab close for instance), you must set the third argument of addMessageListener to true. For exampl...
Performance
Mozilla › Firefox › Multiprocess Leftovers › Message Manager › Performance
ll trigger the callbacks in all tabs. Additionally the example above does not clean unregister itself, thus leaking objects each time a tab is closed. Frame message manager message and event listeners are limited in their lifetime to that of the frame itself, this does not apply to observer registrations. ...
Event reference
Web › Events
ned on the touch surface (first finger down, second finger down, second finger up, first finger up). MozEdgeUIGesture Addons specific A touch point is swiped across the touch surface to invoke the Edge UI (Win8 only). MozAfterPaint Addons specific Content has been repainted. DOMPopupBlocked Addons specific A popup has been blocked. DOMWindowCreated Addons specific A window has been created. DOMWindowClose Addons specific A window is about to be closed. DOMTitleChanged Addons specific The title of a window has changed. DOMLinkAdded Addons specific A link has been added a document. DOMLinkRemoved Addons specific A link has been removed inside from a document...