summaryrefslogtreecommitdiff
path: root/dom/interfaces
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-04-04 11:58:59 +0800
committerMoonchild <moonchild@palemoon.org>2022-10-23 21:43:46 +0000
commit362a84565c0154b71e6b8b581f7a94e2051385a7 (patch)
treee8215972776a036acaf8487af2ca9a0772977104 /dom/interfaces
parentd8ef6bf7af085c252027fd3cfc6106ca69c61df4 (diff)
downloaduxp-362a84565c0154b71e6b8b581f7a94e2051385a7.tar.gz
Issue #21 - Remove panning/tab animation performance measurements
Based on FranklinDM's follow-up for the issue. This would require browser FE changes, particularly removing the associated code in `tabbrowser.xml`, however, that was already done in Pale Moon previously. Other front-end applications may need to take note, though. Based on changes from the following bugs: * Bug 696398 - Need an api to analyze panning performance * Bug 800031 - Include paint time in tab switch telemetry * Bug 820167 - Enable performance measurement of tab animation * Bug 826383 - Improve Start/Stop FrameTimeRecording for telemetry usage
Diffstat (limited to 'dom/interfaces')
-rw-r--r--dom/interfaces/base/nsIDOMWindowUtils.idl34
1 files changed, 1 insertions, 33 deletions
diff --git a/dom/interfaces/base/nsIDOMWindowUtils.idl b/dom/interfaces/base/nsIDOMWindowUtils.idl
index ad45e6e520..1289bd940d 100644
--- a/dom/interfaces/base/nsIDOMWindowUtils.idl
+++ b/dom/interfaces/base/nsIDOMWindowUtils.idl
@@ -49,7 +49,7 @@ interface nsIJSRAIIHelper;
interface nsIContentPermissionRequest;
interface nsIObserver;
-[scriptable, uuid(7fcc7958-77d9-45ff-8c81-277bde5f0dc8)]
+[scriptable, uuid(58e97ce9-1d9e-4576-aabf-89480fdeb16d)]
interface nsIDOMWindowUtils : nsISupports {
/**
@@ -1426,38 +1426,6 @@ interface nsIDOMWindowUtils : nsISupports {
readonly attribute AString currentAudioBackend;
/**
- * Record (and return) frame-intervals for frames which were presented
- * between calling StartFrameTimeRecording and StopFrameTimeRecording.
- *
- * - Uses a cyclic buffer and serves concurrent consumers, so if Stop is called too late
- * (elements were overwritten since Start), result is considered invalid and hence empty.
- * - Buffer is capable of holding 10 seconds @ 60fps (or more if frames were less frequent).
- * Can be changed (up to 1 hour) via pref: toolkit.framesRecording.bufferSize.
- * - Note: the first frame-interval may be longer than expected because last frame
- * might have been presented some time before calling StartFrameTimeRecording.
- */
-
- /**
- * Returns a handle which represents current recording start position.
- */
- void startFrameTimeRecording([retval] out unsigned long startIndex);
-
- /**
- * Returns number of recorded frames since startIndex was issued,
- * and allocates+populates 2 arraye with the recorded data.
- * - Allocation is infallible. Should be released even if size is 0.
- */
- void stopFrameTimeRecording(in unsigned long startIndex,
- [optional] out unsigned long frameCount,
- [retval, array, size_is(frameCount)] out float frameIntervals);
-
- /**
- * Signals that we're begining to tab switch. This is used by painting code to
- * determine total tab switch time.
- */
- void beginTabSwitch();
-
- /**
* The DPI of the display
*/
readonly attribute float displayDPI;