Companion fix to earlier checkin for bug 197127. r=alecf, sr=heikki, a=asa. Do not allow typed data urls to enter global history.

git-svn-id: svn://10.0.0.236/trunk@211097 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nisheeth%netscape.com 2006-09-14 06:03:13 +00:00
parent ee22be7772
commit 2000ceec56

View File

@ -262,7 +262,8 @@ function addToUrlbarHistory()
var url = entryToAdd.Value;
if (url.indexOf(" ") == -1) {
var fixedUpURI = gURIFixup.createFixupURI(url, 0);
gGlobalHistory.markPageAsTyped(fixedUpURI.spec);
if (!fixedupURI.schemeIs("data"))
gGlobalHistory.markPageAsTyped(fixedUpURI.spec);
}
}
catch(ex) {