Backed out changeset 29b357a370f3

This commit is contained in:
Dão Gottwald 2014-07-27 00:16:34 +02:00
parent b708298d3e
commit d160b2bddf

View File

@ -2010,11 +2010,17 @@ function BrowserTryToCloseWindow()
}
function loadURI(uri, referrer, postData, allowThirdPartyFixup) {
if (postData === undefined)
postData = null;
var flags = nsIWebNavigation.LOAD_FLAGS_NONE;
if (allowThirdPartyFixup) {
flags |= nsIWebNavigation.LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP;
flags |= nsIWebNavigation.LOAD_FLAGS_FIXUP_SCHEME_TYPOS;
}
try {
openLinkIn(uri, "current",
{ referrerURI: referrer,
postData: postData,
allowThirdPartyFixup: allowThirdPartyFixUp });
gBrowser.loadURIWithFlags(uri, flags, referrer, null, postData);
} catch (e) {}
}