content/child/web_url_loader_impl.cc void WebURLLoaderImpl::Context::Start fast path no fault handler to fall back to slow path
Reported by
michael_...@hotmail.com,
Oct 25 2016
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 Steps to reproduce the problem: Found via static analysis What is the expected behavior? What went wrong? Possible semantic error (verification) Did this work before? N/A Chrome version: 53.0.2785.143 Channel: n/a OS Version: 10.0 Flash Version: Shockwave Flash 23.0 r0 In if (CanHandleDataURLRequestLocally), is there a fault handler for failure in the GetInfo?
,
Oct 26 2016
,
Oct 27 2016
Specifically in this fast path:
if (CanHandleDataURLRequestLocally()) {
if (sync_load_response) {
// This is a sync load. Do the work now.
sync_load_response->url = url;
sync_load_response->error_code =
GetInfoFromDataURL(sync_load_response->url, sync_load_response,
&sync_load_response->data);
} else {
task_runner_->PostTask(FROM_HERE,
base::Bind(&Context::HandleDataURL, this));
}
return;
}
If GetInfoFromDataURL can fail (implied by an error code assignment), can the fault be handled in slow-path, or is it ok to leave it to the caller? Currently it returns immediately regardless of the output of GetInfoFromDataURL.
,
Oct 28 2016
Issue 659268 has been merged into this issue.
,
Nov 4 2016
Thank you for providing more feedback. Adding requester "sureshkumari@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 15 2016
,
Nov 15 2017
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by sureshkumari@chromium.org
, Oct 26 2016Owner: sureshkumari@chromium.org