You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
_addTtfbRequestTimeToMeasurements throws TypeError: undefined is not an object (evaluating 't.responseStart') #11310
Just used the web page. Note that this is coming from an iOS WKWebView.
Expected Result
The type of getNavigationEntry says it can return undefined, but _addTtfbRequestTimeToMeasurements doesn't check for this. I think this line should be changed:
Activity
AbhiPrasad commentedon Mar 27, 2024
@ilmarivacklinsc good catch - we shouldn't be casting here. Opened fix with #11311
fix(web-vitals): Check for undefined navigation entry (#11311)
AbhiPrasad commentedon Mar 28, 2024
Fix released with https://github.com/getsentry/sentry-javascript/releases/tag/7.109.0
fix(web-vitals): Check for undefined navigation entry (getsentry#11311)