I'm trying to reload the current page from my custom XUL toolbar, however,
everytime it does, the page loads from cache.  I have to manually Shift +
Reload to load the page fresh.  Is there a way to do this in XPCOM?  My
current code is below:

oTab = gBrowser.mCurrentBrowser;
oTab.webNavigation.reload(nsIWebNavigation.LOAD_FLAGS_BYPASS_PROXY |
nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE);

Thanks,
Jeremy


_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to