docshell/test/file_bug640387.html
author Boris Zbarsky <bzbarsky@mit.edu>
Mon, 04 Aug 2014 01:25:30 -0400
changeset 217382 48788ecea2c6fd740386b5413f8a308e14f7b8a5
parent 68728 228d41c976007bd1da5b46b5356050b4eb744f68
child 497594 58adc643dcdc20eccb4d30bc454b50420e96c020
permissions -rw-r--r--
Bug 1045096 - Make sure initial about:blank in iframes have a nsDOMNavigationTiming object, so we don't end up with window.performance throwing when accessed on their window. r=smaug, a=sledru

<html>
<body onhashchange='hashchange()' onload='load()' onpopstate='popstate()'>

<script>
function hashchange() {
  var f = (opener || parent).childHashchange;
  if (f)
    f();
}

function load() {
  var f = (opener || parent).childLoad;
  if (f)
    f();
}

function popstate() {
  var f = (opener || parent).childPopstate;
  if (f)
    f();
}
</script>

Not much to see here...
</body>
</html>