Backing out parts of an experiment that was accidentally checked in yesterday, fixes blocker bug 90363. r=pollmann@netscape.com

This commit is contained in:
jst%netscape.com 2001-07-12 03:13:28 +00:00
parent a0f509ae24
commit e7e379cb49

View File

@ -366,9 +366,7 @@ NS_IMETHODIMP GlobalWindowImpl::SetNewDocument(nsIDOMDocument* aDocument)
doc = nsnull; // Forces release now
}
PRBool is_about = PR_FALSE;
if (docURL && NS_SUCCEEDED(docURL->SchemeIs("about", &is_about)) &&
is_about) {
if (docURL) {
docURL->GetSpec(getter_Copies(url));
//about:blank URL's do not have ClearScope called on page change.