mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 366705 - "error when you try to load a non existing page from a local drive" [p=sciguyryan@gmail.com (Ryan Jones) r=gavin a1.9=mconnor]
This commit is contained in:
parent
5983f838e4
commit
2f0c7d5b24
@ -1275,7 +1275,11 @@
|
||||
if (aAllowThirdPartyFixup) {
|
||||
flags = nsIWebNavigation.LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP;
|
||||
}
|
||||
b.loadURIWithFlags(aURI, flags, aReferrerURI, aCharset, aPostData);
|
||||
try {
|
||||
b.loadURIWithFlags(aURI, flags, aReferrerURI, aCharset, aPostData);
|
||||
}
|
||||
catch (ex) {
|
||||
}
|
||||
}
|
||||
|
||||
// |setTimeout| here to ensure we're post reflow
|
||||
|
Loading…
x
Reference in New Issue
Block a user