Perhaps you could use an invalid scheme on the URL? (Just guessing; I'm not familiar with this code.)
On Fri, Sep 25, 2009 at 7:02 PM, Jenn Braithwaite (胡慧鋒) <je...@google.com> wrote: > Hi, > I want my unittest to result in my URLRequest getting a non-success status. > How do I do that? > When I use "http://localhost/foo" as my URL, I get a non-success status > with os_error = -102 when testing on Vista64, but I don't know if this will > guarantee me a non-success status all the time on all platforms. Is there a > more definitive technique to do what I want? > Thanks, > Jenn > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---