Difference between revisions of "ReloadPageMylau"

From CDOT Wiki
Jump to: navigation, search
 
Line 2: Line 2:
 
:*Searched LXR using the following query: "reload”
 
:*Searched LXR using the following query: "reload”
 
:*Opened tabbrowser.xml file
 
:*Opened tabbrowser.xml file
::*http://lxr.mozilla.org/seamonkey/source/toolkit/content/widgets/tabbrowser.xml#2065
+
::http://lxr.mozilla.org/seamonkey/source/toolkit/content/widgets/tabbrowser.xml#2065
 
:*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 in LXR
 
:*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;
:*(http://lxr.mozilla.org/seamonkey/source/mailnews/base/prefs/resources/content/AccountManager.js#807)
+
::http://lxr.mozilla.org/seamonkey/source/mailnews/base/prefs/resources/content/AccountManager.js#807)
 +
:*static const UInt32 LOAD_FLAGS_NONE = 0;
  
:*static const UInt32 LOAD_FLAGS_NONE = 0;
 
 
:*http://lxr.mozilla.org/seamonkey/source/embedding/wrappers/DotNETEmbed/DotNETWebBrowser.h#101
 
:*http://lxr.mozilla.org/seamonkey/source/embedding/wrappers/DotNETEmbed/DotNETWebBrowser.h#101
 +
 
:*Looked up getWebNavigation
 
:*Looked up getWebNavigation
 
:*getWebNavigation calls gBrowser.webNavigation
 
:*getWebNavigation calls gBrowser.webNavigation
 
:*gBrowser is a reference to a tab in a browser  
 
:*gBrowser is a reference to a tab in a browser  
:*var webNav = getWebNavigation(); gets the page browse history in a tab
+
:*var webNav = getWebNavigation(); gets the page browse history in a tab *maybe?*
 
+
:*webNav.reload(reloadFlags); reloads the page with the "static const UInt32 LOAD_FLAGS_NONE = 0" parameter < flag indicates a page reload?
:*searched for sessionHistory
 

Latest revision as of 13:17, 29 September 2006

  • Used LXR for this exercise [seamonkey]
  • Searched LXR using the following query: "reload”
  • Opened tabbrowser.xml file
http://lxr.mozilla.org/seamonkey/source/toolkit/content/widgets/tabbrowser.xml#2065
  • This line of code looked interesting “return this.mCurrentBrowser.reload();”
  • We searched for ““function reload” in LXR, found a match “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 in LXR
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;
  • 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 *maybe?*
  • webNav.reload(reloadFlags); reloads the page with the "static const UInt32 LOAD_FLAGS_NONE = 0" parameter < flag indicates a page reload?