1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/.
7 * A single frame collected by the |CompositionRecorder|.
9 [GenerateConversionToJS]
10 dictionary DOMCollectedFrame {
12 * The offset of the frame past the start point of the recording (in
15 required double timeOffset;
16 /** A data: URI containing the PNG image data of the frame. */
17 required ByteString dataUri;
21 * Information about frames collected by the |CompositionRecorder|.
23 [GenerateConversionToJS]
24 dictionary DOMCollectedFrames {
25 /** The collected frames. */
26 required sequence<DOMCollectedFrame> frames;
27 /** The start point of the recording (in milliseconds). */
28 required double recordingStart;