Comcast / Surf-N-Perf

Micro-library for gathering web page performance data

Home Page:http://comcast.github.io/Surf-N-Perf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add getFirstContentfulPaint()

JohnRiv opened this issue · comments

should behave similar to getFirstPaint() with the "first-contentful-paint" name instead of "first-paint"

See https://developer.mozilla.org/en-US/docs/Web/API/PerformancePaintTiming for docs

In surfnperf.js file whenever getFirstPaint function is called you want to lookup for first-contentful-paint rather first-paint(which is a current behaviour), right?

closed via #85