Bug 1768867 Comment 5 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I don't know why this is failing. I tried disabling/enabling the composition recorder directly on the latest macOS nightly (ie running `windowUtils.setCompositionRecording(true|false)` from the browser console) directly and the recorder itself seems to be working.

[This](https://github.com/sitespeedio/browsertime/blob/bcdaeaebbbaa40c845e6171526c642668852c573/lib/video/screenRecording/firefox/firefoxWindowRecorder.js#L23) is the script that is running in browserTime. Maybe you could add logging here to see whats up, e.g.

```
      const cb = arguments[arguments.length-1];
      Promise.resolve(
        windowUtils.setCompositionRecording(${enable})
      )
        .then(() => cb())
        .catch(e => console.log("*** e = " + e);

```
I don't know why this is failing. I tried disabling/enabling the composition recorder directly on the latest macOS nightly (ie running `windowUtils.setCompositionRecording(true|false)` from the browser console) directly and the recorder itself seems to be working.

[This](https://github.com/sitespeedio/browsertime/blob/bcdaeaebbbaa40c845e6171526c642668852c573/lib/video/screenRecording/firefox/firefoxWindowRecorder.js#L23) is the script that is running in browserTime. Maybe you could add logging here to see whats up, e.g.

```
      const cb = arguments[arguments.length-1];
      Promise.resolve(
        windowUtils.setCompositionRecording(${enable})
      )
        .catch(e => console.log("*** e = " + e)
        .then(() => cb());

```

Back to Bug 1768867 Comment 5