File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,9 @@ export default class BreakageReporting extends ContentFeature {
2323 const getReloaded = this . getFeatureSettingEnabled ( 'getReloaded' , 'enabled' ) ;
2424 if ( getReloaded ) {
2525 result . pageReloaded =
26- ( window . performance . navigation && window . performance . navigation . type === 1 ) ||
27- /** @type {PerformanceNavigationTiming[] } */
28- ( window . performance . getEntriesByType ( 'navigation' ) )
29- . map ( ( nav ) => nav . type )
30- . includes ( 'reload' ) ;
26+ ( window . performance . navigation && window . performance . navigation . type === 1 ) ||
27+ /** @type {PerformanceNavigationTiming[] } */
28+ ( window . performance . getEntriesByType ( 'navigation' ) ) . map ( ( nav ) => nav . type ) . includes ( 'reload' ) ;
3129 }
3230
3331 // Only run detectors if explicitly configured
You can’t perform that action at this time.
0 commit comments