Fixed jar url resolve so that chrome protocol works. Fixed jar channel to not remove channel after kicking off load. Bug 18433
git-svn-id: svn://10.0.0.236/trunk@71713 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -534,7 +534,7 @@ nsJARChannel::EnsureJARFileAvailable(OnJARFileAvailableFun onJARFileAvailable,
|
||||
}
|
||||
|
||||
error:
|
||||
if (mLoadGroup) {
|
||||
if (NS_FAILED(rv) && mLoadGroup) {
|
||||
nsresult rv2 = mLoadGroup->RemoveChannel(this, nsnull, rv, nsnull); // XXX fix error message
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv2), "RemoveChannel failed");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user