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 support for the clearMarks method

JohnRiv opened this issue · comments

https://www.w3.org/TR/user-timing/#dom-performance-clearmarks

If we call clearMarks without an argument, then it should still maintain the marks we recommend setting up in the <head> of the document: 'pageStart', 'loadEventEnd', and 'firstPaintFrame'.

If you specify one of those 3 marks as the argument, then we'll delete it, but that's on you 😉

Closed via #58