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

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<script>
window.onload=function(){
  let bigShadowTree = `<div>`;
  for (let i = 0; i < 10; ++i)
    bigShadowTree = bigShadowTree + bigShadowTree;
  b.attachShadow({ mode: 'open' }).innerHTML = bigShadowTree;
  // Create wrappers for all those elements.
  [...b.shadowRoot.querySelectorAll('*')].forEach(() => {});
  document.documentElement.addEventListener('DOMNodeRemoved', function(){
    window.frames[0].document.body.appendChild(b)
  })
  window.frames[0].document.body.appendChild(a)
}
</script>
<mark id='a'>
<iframe></iframe>
<div id='b'>