Cronet crash in MaybeReportMetrics after exception in CronetUrlRequest.start() |
||
Issue descriptionWhen CronetUrlRequest.start() throws an exception, it destroys the native CronetURLRequestAdapter without first creating the net::URLRequest. MaybeReportMetrics() assumes that the URLRequest exists and crashes.
,
Dec 19 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c7432bd7c942317b23e365d0a816891ba3e5e63f commit c7432bd7c942317b23e365d0a816891ba3e5e63f Author: mgersh <mgersh@chromium.org> Date: Mon Dec 19 22:48:18 2016 Don't try to report metrics when there's no URLRequest This case can happen when UrlRequest.start() throws an exception. BUG= 675629 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Review-Url: https://codereview.chromium.org/2585203003 Cr-Commit-Position: refs/heads/master@{#439599} [modify] https://crrev.com/c7432bd7c942317b23e365d0a816891ba3e5e63f/components/cronet/android/cronet_url_request_adapter.cc [modify] https://crrev.com/c7432bd7c942317b23e365d0a816891ba3e5e63f/components/cronet/android/test/javatests/src/org/chromium/net/RequestFinishedInfoTest.java
,
Dec 19 2016
|
||
►
Sign in to add a comment |
||
Comment 1 Deleted