diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2023-04-05 22:22:34 +0800 |
---|---|---|
committer | FranklinDM <mrmineshafter17@gmail.com> | 2023-04-10 18:22:53 +0800 |
commit | d4138780ee267baf56250bb3a592419202553385 (patch) | |
tree | eff468633e02e8277efc289c8694e826d0cc663a /storage | |
parent | 5fc711ba17cd86a7f168c159b551acdb598dbf1f (diff) | |
download | uxp-d4138780ee267baf56250bb3a592419202553385.tar.gz |
Issue #2053 - Part 2: Update PerformanceMeasure 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 instead.
(b) PerformanceMeasureOptions is used directly and doesn't use the the Maybe<> container class. I haven't found the reason yet, but PerformanceMeasureOptions is disallowed from having a copy constructor and without that, it isn't possible to use it with Maybe<>... There doesn't seem to be any problem with using it directly, though.
(c) Resist fingerprinting-pref changes were skipped.
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1762482
Diffstat (limited to 'storage')
0 files changed, 0 insertions, 0 deletions