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 (4a108e94d3e2)

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 28 29
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <script type="text/javascript">
      function boom()
      {
        iframe = document.getElementById("iframe");
        iframeBody = iframe.contentDocument.body;
        iframeBody.appendChild(makeNamedSpan("w"));
        remove(iframe);
        iframeBody.appendChild(makeNamedSpan("w"));
        remove(iframeBody);
        document.documentElement.className = "";
      }

      function makeNamedSpan(i)
      {
        var s = document.createElement("span");
        s.id = i;
        return s;
      }

      function remove(n)    { n.parentNode.removeChild(n); }
    </script>
  </head>
  <body onload="boom();">
    <iframe id="iframe" src="data:text/html,S"></iframe>
  </body>
</html>