"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "platform/docshell/base/nsDocShell.cpp" between
basilisk-2021.12.14-source.tar.xz and basilisk-2022.01.27-source.tar.xz

About: Basilisk is an XUL-based web-browser demonstrating the Unified XUL Platform (UXP), featuring the well-known Firefox-style interface and operation ("development software").

nsDocShell.cpp  (basilisk-2021.12.14-source.tar.xz):nsDocShell.cpp  (basilisk-2022.01.27-source.tar.xz)
skipping to change at line 5386 skipping to change at line 5386
} }
// If we're being flooded with reload requests, we should abort early // If we're being flooded with reload requests, we should abort early
// from the reload logic. // from the reload logic.
if (IsReloadFlooding()) { if (IsReloadFlooding()) {
// Report a warning to the console to tell developers why their reload // Report a warning to the console to tell developers why their reload
// failed. // failed.
// Do this only if not yet marked reported so we only report it once per // Do this only if not yet marked reported so we only report it once per
// flood interval. // flood interval.
if (!mReloadFloodGuardReported) { if (!mReloadFloodGuardReported) {
#if 0
nsContentUtils::ReportToConsole(nsIScriptError::warningFlag, nsContentUtils::ReportToConsole(nsIScriptError::warningFlag,
NS_LITERAL_CSTRING("Reload"), NS_LITERAL_CSTRING("Reload"),
GetDocument(), GetDocument(),
nsContentUtils::eDOM_PROPERTIES, nsContentUtils::eDOM_PROPERTIES,
"ReloadFloodingPrevented"); "ReloadFloodingPrevented");
#endif
mReloadFloodGuardReported = true; mReloadFloodGuardReported = true;
} }
return NS_OK; return NS_OK;
} }
if (!canReload) { if (!canReload) {
return NS_OK; return NS_OK;
} }
/* If you change this part of code, make sure bug 45297 does not re-occur */ /* If you change this part of code, make sure bug 45297 does not re-occur */
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)