CronetMetrics doesn't implement all NSURLSessionTaskMetrics properties. |
||||
Issue descriptionCronetMetrics misses the implementation of two properties of the NSURLSessionTaskMetrics interface: taskInterval and redirectCount. This may cause crash in embedders apps that were collecting metrics previously and would like to collect the same metrics with Cronet. The crash can manifest itself with this error message: "terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CronetMetrics taskInterval]: unrecognized selector sent to instance 0x1c0206880'" The current workaround is not to call the missing methods from the app. https://cs.chromium.org/chromium/src/components/cronet/ios/cronet_metrics.h?type=cs&q=%22@interface+CronetMetrics+:+NSURLSessionTaskMetrics%22&l=75
,
Apr 13 2018
,
Aug 2
lilyhoughton@ is no longer working on Chromium.
,
Oct 26
Re #3: Hi Misha, I would like to know if it is still the case that CronetMetrics.transactionMetrics only has the detailed breakdowns of the last http request for redirection. If so, do we have any plans to implement that support as what iOS stack does?
,
Oct 27
Hi Jni, unfortunately we don't have anybody working on it right now. I'm not sure how difficult would it be to support the iOS stack behavior. I've lowered the priority to represent current status, but will be happy to discuss your use case to see if there are possible workarounds. |
||||
►
Sign in to add a comment |
||||
Comment 1 by j...@snapchat.com
, Apr 12 2018