Skip to content
  • Barret Rennie's avatar
    Bug 1581240 - Return collected frames as a promise to JS r=bzbarsky,mstange,nika · d9aec252
    Barret Rennie authored
    The `setCompositionRecording` API on nsIDOMWindowUtils has been broken up into
    two new APIs:
    
    * `startCompositionRecording()`, which starts the composition recorder; and
    * `stopCompositionRecording(bool writeToDisk)` which stops the composition
      recorder and either returns a Promise that resolves to the collected frames
      or returns a Promise that resolves when the frames have been written to disk.
    
    The collected frames are serialized over IPC as part of a Shmem as to not
    approach the IPC data transfer limit.
    
    Differential Revision: https://phabricator.services.mozilla.com/D47818
    
    --HG--
    extra : moz-landing-system : lando
    d9aec252