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 (e67641c2e4cc)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<!DOCTYPE HTML>
<html>
<body onload="test();">
<script>
  function test() {
    // Test that calling pushState() with a state object which calls
    // history.back() doesn't crash. We need to make sure that there's at least
    // one entry in the history before we do anything else.
    history.pushState(null, "");

    x = {};
    x.toJSON = { history.back(); return "{a:1}"; };
    history.pushState(x, "");
  }
</script>
</body>
</html>