Issue #2053 - Part 3: Update PerformanceMark to User Timing L3

There are a few minor differences between this and Mozilla's implementation:
(a) The type error messages were not hardcoded to the Performance class and were moved to Errors.msg or domerr.msg instead.
(b) Resist fingerprinting-pref changes were skipped.

Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1724645
This commit is contained in:
FranklinDM 2023-04-06 19:32:32 +08:00 committed by roytam1
commit 3b57ba1415
8 changed files with 197 additions and 19 deletions

View file

@ -7,7 +7,8 @@
* http://www.w3.org/TR/user-timing/#performancemark
*/
[Exposed=(Window,Worker)]
[Exposed=(Window,Worker), Constructor(DOMString markName, optional PerformanceMarkOptions markOptions)]
interface PerformanceMark : PerformanceEntry
{
readonly attribute any detail;
};