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

@ -659,6 +659,12 @@ DOMInterfaces = {
'wrapperCache': False
},
'Performance' : {
'implicitJSContext': [
'mark'
],
},
'Plugin': {
'headerFile' : 'nsPluginArray.h',
'nativeType': 'nsPluginElement',