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