We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78a8bd7 commit d7ffec1Copy full SHA for d7ffec1
lighthouse-core/gather/driver.js
@@ -1118,6 +1118,8 @@ function registerPerformanceObserverInPage() {
1118
// HACK: A PerformanceObserver will be GC'd if there are no more references to it, so attach it to
1119
// window to ensure we still receive longtask notifications. See https://crbug.com/742530.
1120
// For an example test of this behavior see https://gist.github.com/patrickhulce/69d8bed1807e762218994b121d06fea6.
1121
+ // FIXME COMPAT: This hack isn't neccessary as of Chrome 62.0.3176.0
1122
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=742530#c7
1123
window.____lhPerformanceObserver = observer;
1124
}
1125
0 commit comments