mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Make test_bogus_files.js pass after bug 552121 c666507bf280
This commit is contained in:
parent
b295e5a578
commit
c6f254c9c1
@ -1676,7 +1676,7 @@ mozJSComponentLoader::ImportInto(const nsACString & aLocation,
|
||||
// figure out the resolved URI
|
||||
nsCOMPtr<nsIChannel> scriptChannel;
|
||||
rv = ioService->NewChannelFromURI(resURI, getter_AddRefs(scriptChannel));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
NS_ENSURE_SUCCESS(rv, NS_ERROR_INVALID_ARG);
|
||||
|
||||
nsCOMPtr<nsIURI> resolvedURI;
|
||||
rv = scriptChannel->GetURI(getter_AddRefs(resolvedURI));
|
||||
|
Loading…
Reference in New Issue
Block a user