Browse Source

Issue #unknown, Reload Flooding prevention, enabling report to browser console.

basilisk-20211214
roytam1 5 months ago
parent
commit
b96332c989
  1. 2
      platform/docshell/base/nsDocShell.cpp

2
platform/docshell/base/nsDocShell.cpp

@ -5383,13 +5383,11 @@ nsDocShell::Reload(uint32_t aReloadFlags)
// Do this only if not yet marked reported so we only report it once per
// flood interval.
if (!mReloadFloodGuardReported) {
#if 0
nsContentUtils::ReportToConsole(nsIScriptError::warningFlag,
NS_LITERAL_CSTRING("Reload"),
GetDocument(),
nsContentUtils::eDOM_PROPERTIES,
"ReloadFloodingPrevented");
#endif
mReloadFloodGuardReported = true;
}
return NS_OK;

Loading…
Cancel
Save