diff --git a/layout-instability/resources/util.js b/layout-instability/resources/util.js index 515914e11fadc9..2ef971ddb79166 100644 --- a/layout-instability/resources/util.js +++ b/layout-instability/resources/util.js @@ -59,6 +59,7 @@ ScoreWatcher = function() { resetPromise(); const observer = new PerformanceObserver(list => { list.getEntries().forEach(entry => { + this.lastEntry = entry; this.score += entry.value; if (!entry.hadRecentInput) this.scoreWithInputExclusion += entry.value; diff --git a/layout-instability/sources.html b/layout-instability/sources.html new file mode 100644 index 00000000000000..599a5c471b38d5 --- /dev/null +++ b/layout-instability/sources.html @@ -0,0 +1,38 @@ + +Layout Instability: sources attribute + + +
+ + + +