WebKit telemetry data is currently captured as strings in many cases, which can make evaluating the data difficult. We should take advantage of the native logging infrastructure's ability to handle integer types, and pass counts as integers.
<rdar://problem/36677978>
Created attachment 331826 [details] Patch
Created attachment 331877 [details] Patch
Comment on attachment 331877 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=331877&action=review > Source/WebKit/UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h:45 > +- (void)_webView:(WKWebView *)webView logDiagnosticMessageWithCount:(NSString *)message description:(NSString *)description count:(NSUInteger) count WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA)); Whoops! This should be uint64_t for consistency.
Created attachment 331880 [details] Patch
I talked to Chris about this (he wrote the initial code), and we decided this should be addressed on the Safari side. I'll close this as NTBF.