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
<!doctype html>
<title>onvisibilitychange attribute is a proper event handler</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<div id="log"></div>
<script>
var ast = new async_test("onvisibilitychange attribute is a proper event handler");
function startTest() {
  var iframe1 = document.getElementById("frame1");
  iframe1.contentWindow.document.onvisibilitychange = ast.step_func(function() {
  iframe1.contentWindow.document.onvisibilitychange = ast.step_func(function() {
    ast.done();
  });
  frame1.parentNode.removeChild(frame1);
}
}
</script>
<iframe id="frame1" src='resources/iframe.html'></iframe>