mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #2053 - Part 1: Performance should be an EventTarget
Some sites (e.g. Bitbucket) are now calling `performance.addEventListener` and expect that Performance is an EventTarget. Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1432522
This commit is contained in:
parent
31283d993b
commit
995f3117b0
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ typedef double DOMHighResTimeStamp;
|
|||
typedef sequence <PerformanceEntry> PerformanceEntryList;
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface Performance {
|
||||
interface Performance : EventTarget {
|
||||
[DependsOn=DeviceState, Affects=Nothing]
|
||||
DOMHighResTimeStamp now();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue