tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

DOMCollectedFrames.webidl (893B)


      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/.
      4 */
      5 
      6 /**
      7 * A single frame collected by the |CompositionRecorder|.
      8 */
      9 [GenerateConversionToJS]
     10 dictionary DOMCollectedFrame {
     11    /**
     12     * The offset of the frame past the start point of the recording (in
     13     * milliseconds).
     14     */
     15    required double timeOffset;
     16    /** A data: URI containing the PNG image data of the frame. */
     17    required ByteString dataUri;
     18 };
     19 
     20 /**
     21 * Information about frames collected by the |CompositionRecorder|.
     22 */
     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;
     29 };