зеркало из https://github.com/mozilla/pjs.git
Remove DEBUG_nisheeth protected code.
This commit is contained in:
Родитель
ce85eaafeb
Коммит
db76351e26
|
@ -2900,12 +2900,6 @@ nsWebShell::OnStartDocumentLoad(nsIDocumentLoader* loader,
|
|||
nsIURI* aURL,
|
||||
const char* aCommand)
|
||||
{
|
||||
#if DEBUG_nisheeth
|
||||
const char* spec;
|
||||
aURL->GetSpec(&spec);
|
||||
printf("nsWebShell::OnStartDocumentLoad:%p: loader=%p url=%s command=%s\n", this, loader, spec, aCommand);
|
||||
#endif
|
||||
|
||||
nsIDocumentViewer* docViewer;
|
||||
nsresult rv = NS_ERROR_FAILURE;
|
||||
|
||||
|
@ -2959,12 +2953,6 @@ nsWebShell::OnEndDocumentLoad(nsIDocumentLoader* loader,
|
|||
if (NS_FAILED(rv)) return rv;
|
||||
#endif
|
||||
|
||||
#if DEBUG_nisheeth
|
||||
const char* spec;
|
||||
aURL->GetSpec(&spec);
|
||||
printf("nsWebShell::OnEndDocumentLoad:%p: loader=%p url=%s status=%d\n", this, loader, spec, aStatus);
|
||||
#endif
|
||||
|
||||
if (!mProcessedEndDocumentLoad) {
|
||||
mProcessedEndDocumentLoad = PR_TRUE;
|
||||
|
||||
|
|
|
@ -2900,12 +2900,6 @@ nsWebShell::OnStartDocumentLoad(nsIDocumentLoader* loader,
|
|||
nsIURI* aURL,
|
||||
const char* aCommand)
|
||||
{
|
||||
#if DEBUG_nisheeth
|
||||
const char* spec;
|
||||
aURL->GetSpec(&spec);
|
||||
printf("nsWebShell::OnStartDocumentLoad:%p: loader=%p url=%s command=%s\n", this, loader, spec, aCommand);
|
||||
#endif
|
||||
|
||||
nsIDocumentViewer* docViewer;
|
||||
nsresult rv = NS_ERROR_FAILURE;
|
||||
|
||||
|
@ -2959,12 +2953,6 @@ nsWebShell::OnEndDocumentLoad(nsIDocumentLoader* loader,
|
|||
if (NS_FAILED(rv)) return rv;
|
||||
#endif
|
||||
|
||||
#if DEBUG_nisheeth
|
||||
const char* spec;
|
||||
aURL->GetSpec(&spec);
|
||||
printf("nsWebShell::OnEndDocumentLoad:%p: loader=%p url=%s status=%d\n", this, loader, spec, aStatus);
|
||||
#endif
|
||||
|
||||
if (!mProcessedEndDocumentLoad) {
|
||||
mProcessedEndDocumentLoad = PR_TRUE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче