From 5754dd285c2776c68c27a6442d037deee12a8017 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Tue, 5 Apr 2005 18:46:44 +0000 Subject: [PATCH] Bug 289063 protected recursion triggers ASSERTION: failed to load URL: 'NS_SUCCEEDED(rv)', file r:/mozilla/content/html/content/src/nsGenericHTMLElement.cpp, line 3469 r=bz sr=bz --- content/html/content/src/nsGenericHTMLElement.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/html/content/src/nsGenericHTMLElement.cpp b/content/html/content/src/nsGenericHTMLElement.cpp index 38636b52b21a..0d09a88996b7 100644 --- a/content/html/content/src/nsGenericHTMLElement.cpp +++ b/content/html/content/src/nsGenericHTMLElement.cpp @@ -3455,7 +3455,11 @@ nsGenericHTMLFrameElement::LoadSrc() } rv = mFrameLoader->LoadFrame(); - NS_ASSERTION(NS_SUCCEEDED(rv), "failed to load URL"); +#ifdef DEBUG + if (NS_FAILED(rv)) { + NS_WARNING("failed to load URL"); + } +#endif return rv; }