tor-browser

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

takePhoto-without-PhotoCapabilities.https.window.js (323B)


      1 promise_test(async t => {
      2  const track = new MediaStreamTrackGenerator('video');
      3  const capturer = new ImageCapture(track);
      4  const settings = await capturer.getPhotoSettings();
      5  await promise_rejects_dom(t, 'UnknownError', capturer.takePhoto(settings));
      6 }, 'exercise takePhoto() on a track without PhotoCapabilities');