зеркало из https://github.com/mozilla/gecko-dev.git
Companion fix to earlier checkin for bug 197127. r=alecf, sr=heikki, a=asa. Do not allow typed data urls to enter global history.
This commit is contained in:
Родитель
51792e1814
Коммит
051728e2a3
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче