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

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 30 31 32 33 34 35 36
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>

<bindings xmlns="http://www.mozilla.org/xbl">
  <binding id="foo"><content><span xmlns="http://www.w3.org/1999/xhtml"/></content></binding>
</bindings>

<script type="text/javascript">
// <![CDATA[

function boom()
{
  // Apply an invalid binding, and wait two ticks of the refresh driver for the async load.
  var d = document.getElementById("d");
  d.style.MozBinding = "url(#bar)";
  requestAnimationFrame(function() {
  requestAnimationFrame(function() {
    // Trigger the InnerText getter.
    document.getElementById("s").innerText;
    document.documentElement.removeAttribute("class");
  });
  });
}

]]>
</script>
</head>

<body onload="boom();">

<div id="d">
    <span id="s">SpanText</span>
</div>

</body>
</html>