Bug 615223 - Remote webpages does not load if browser.tabs.remote is set to false [r=mfinkle]

This commit is contained in:
Vivien Nicolas 2011-06-03 13:02:15 +02:00
parent 15cea9381a
commit 2268733fed

View File

@ -2731,7 +2731,8 @@ Tab.prototype = {
try {
let flags = aParams.flags || Ci.nsIWebNavigation.LOAD_FLAGS_NONE;
browser.loadURIWithFlags(aURI, flags, aParams.referrerURI, aParams.charset, aParams.postData);
let postData = aParams.postData ? aParams.postData.value : null;
browser.loadURIWithFlags(aURI, flags, aParams.referrerURI, aParams.charset, postData);
} catch(e) {
dump("Error: " + e + "\n");
}