Open main menu

CDOT Wiki β

Changes

ReloadPageMylau

1,354 bytes added, 12:06, 29 September 2006
no edit summary
Mike lau:*Used LXR for this exercise [seamonkey]:*Searched LXR using the following query: “reload”:*We went to the xml file called tabbrowser.xml file :*http://lxr.mozilla.org/seamonkey/source/toolkit/content/widgets/tabbrowser.xml#2065:*We found the line “return this.mCurrentBrowser.reload();”:*We searched for the word “reload” again and searched for “function” and we found the a matched :*description “function BrowserReload()” .. :*“http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser.js#1544”:*BrowserReload used the BrowserReloadWithFlags function to reload the page:*Searched for BrowserReloadWithFlags function:*http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser.js#2514:*BrowserReloadWithFlags is the function that handles page reloads:*const LOAD_FLAGS_NONE = Components.interfaces.nsIWebNavigation.LOAD_FLAGS_NONE;:*(http://lxr.mozilla.org/seamonkey/source/mailnews/base/prefs/resources/content/AccountManager.js#807) :*static const UInt32 LOAD_FLAGS_NONE = 0;:*http://lxr.mozilla.org/seamonkey/source/embedding/wrappers/DotNETEmbed/DotNETWebBrowser.h#101:*Looked up getWebNavigation:*getWebNavigation calls gBrowser.webNavigation:*gBrowser is a reference to a tab in a browser :*var webNav = getWebNavigation(); gets the page browse history in a tab  :*searched for sessionHistory
1
edit