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 (95ddb3213aec)

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
<!doctype html>
<html>
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<img src="resources/status-code.py?status=200">
<img src="resources/status-code.py?status=307">
<img src="resources/status-code.py?status=404">
<img src="resources/status-code.py?status=502">
<script>
async_test(t => {
  window.addEventListener("load", t.step_func(() => {
    const images = document.getElementsByTagName("img");
    for (let img of images) {
      assert_greater_than(performance.getEntriesByName(img.src).length, 0, img.src);
    }
    t.done();
  }));
}, "Make sure all status codes are reported");
</script>