This lets consumers pass a string for a uri, an nsIURI, an nsIFile, or an
nsIChannel to NetUtil.asyncFetch. It's now less code to get file contents
asynchronously that to do so synchronously in JavaScript.
r=bz
sr=vlad
This lets consumers pass a string for a uri, an nsIURI, an nsIFile, or an
nsIChannel to NetUtil.asyncFetch. It's now less code to get file contents
asynchronously that to do so synchronously in JavaScript.
r=bz
sr=vlad
This adds an asyncFetch method on NetUtil that will open a channel
asynchronously and provide the consumer with an input stream upon completion.
r=bz
sr=vlad
--HG--
extra : rebase_source : bbeffb5669ba0f040773fca5faca28494982ff94
This moves nsISafeOutputStream.idl into xpcom/io and makes nsAStreamCopier
handle nsISafeOutputStream correctly (calling finish instead of close).
r=bz
r=bsmedberg
--HG--
rename : netwerk/base/public/nsISafeOutputStream.idl => xpcom/io/nsISafeOutputStream.idl