Difference between revisions of "ReloadPageMylau"

From CDOT Wiki
Jump to: navigation, search
Line 5: Line 5:
 
:*This line of code looked interesting “return this.mCurrentBrowser.reload();”
 
:*This line of code looked interesting “return this.mCurrentBrowser.reload();”
 
:*We searched for ““function reload” in LXR, found a match “function BrowserReload()”
 
:*We searched for ““function reload” in LXR, found a match “function BrowserReload()”
:*“http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser.js#1544”
+
::*“http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser.js#1544”
 
:*BrowserReload used the BrowserReloadWithFlags function to reload the page
 
:*BrowserReload used the BrowserReloadWithFlags function to reload the page
:*Searched for BrowserReloadWithFlags function
+
:*Searched for BrowserReloadWithFlags function in LXR
:*http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser.js#2514
+
::*http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser.js#2514
 
:*BrowserReloadWithFlags is the function that handles page reloads
 
:*BrowserReloadWithFlags is the function that handles page reloads
 
:*const LOAD_FLAGS_NONE = Components.interfaces.nsIWebNavigation.LOAD_FLAGS_NONE;
 
:*const LOAD_FLAGS_NONE = Components.interfaces.nsIWebNavigation.LOAD_FLAGS_NONE;

Revision as of 13:12, 29 September 2006

  • Used LXR for this exercise [seamonkey]
  • Searched LXR using the following query: "reload”
  • Opened tabbrowser.xml file
  • This line of code looked interesting “return this.mCurrentBrowser.reload();”
  • We searched for ““function reload” in LXR, found a match “function BrowserReload()”
  • BrowserReload used the BrowserReloadWithFlags function to reload the page
  • Searched for BrowserReloadWithFlags function in LXR
:*searched for sessionHistory