B2G/gecko/browser/base/content/browser.js
/**
* We can avoid adding multiple load event listeners and save some time by adding
* one listener that calls all real handlers.
*/
We can avoid adding multiple load event listeners and save some time by adding
one listener that calls all real handlers.
We can avoid adding multiple load event listeners and save some time by adding one listener that calls all real handlers .
function pageShowEventHandlers(event) {
  charsetLoadListener();
  XULBrowserWindow.asyncUpdateUI();
  if (event.persisted)
    gPluginHandler.reshowClickToPlayNotification();
}
function pageShowEventHandlers ( event ) { charsetLoadListener ( ) ; XULBrowserWindow . asyncUpdateUI ( ) ; if ( event . persisted ) gPluginHandler . reshowClickToPlayNotification ( ) ; }
We can avoid adding multiple load event listeners and save some time by adding
one listener that calls all real handlers.
We can avoid adding multiple load event listeners and save some time by adding one listener that calls all real handlers .
// The PluginClickToPlay events are not fired when navigating using the // BF cache. |event.persisted| is true when the page is loaded from the // BF cache, so this code reshows the notification if necessary.