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 18 19 20 21
<!DOCTYPE html>
<html>
<head>
<script>
function redirectAndFireXHR() {
  const XHR = new XMLHttpRequest();
  document.location.assign('data:text/html,final iframe content');
  XHR.open('GET', 'data:text/html,1', false);
  XHR.send();
}

function handlePageHide() {
  window.parent.finishTest();
}
</script>
</head>
<body onload="redirectAndFireXHR()"
      onpagehide="handlePageHide()">
initial iframe content
</body>
</html>