Move mock.failed.request handling to the URLLoaderInterceptor::Interceptor
http://mock.failed.request is a special testing url load which allows us to simulate error codes. The implementation is suppose to return the error code referenced in the query part of the request to OnComplete(). This CL moves this handling from one of the ErrorPageTests to the URLLoaderInterceptor::Interceptor class so that it can be shared. Bug: 776589 Change-Id: Id6da78e4a3e62b9165d2fe30876b7bbafcf0e8b0 Reviewed-on: https://chromium-review.googlesource.com/847916 Commit-Queue: Doug Turner <dougt@chromium.org> Reviewed-by:John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#526852}
Showing
Please register or sign in to comment