On Fri, Oct 7, 2011 at 12:02 PM, Mark Pilgrim <[email protected]> wrote: > What should this do? > > requestFileSystem(2, 100, successCallback); // assume successCallback > is defined properly
requestFileSystem doesn't throw, so you should get an errorCallback
call. You haven't provided an errorCallback, so you should get a
silent failure.
It does seem like an error we could identify quickly enough to throw,
though, and in general I favor fail-fast for obviously bad parameters.
Opinions?
Eric
