DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (d609eb2a8fe2)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<!DOCTYPE html>
<html class="reftest-wait">
<head>
  <title>Bug 1490700 - Divide-by-zero for screen-capture with max-dimension 0</title>
</head>
</body>
<script type="application/javascript">
async function test() {
  await window.navigator.mediaDevices.getUserMedia({
    video: {
      mediaSource: 'screen',
      height: {max: 0},
    },
  });
  await window.navigator.mediaDevices.getUserMedia({
    video: {
      mediaSource: 'screen',
      advanced: [{height: 0}],
    },
  });
  document.documentElement.removeAttribute("class");
}

test();
</script>
</body>
</html>