docshell/test/browser/file_bug670318.html
author Ehsan Akhgari <ehsan@mozilla.com>
Wed, 10 Aug 2011 01:36:00 -0400
changeset 74937 89bbee4ec270fadde04578b2b8765a588535e0fc
parent 74439 968f8f50e4280a312f1130bf946470fc1b0f4cea
permissions -rw-r--r--
Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking

<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script>
function load() {
  function next() {
    if (count < 5)
      iframe.src = 'data:text/html,iframe ' + (++count);
  }

  var count = 0;
  var iframe = document.createElement('iframe');
  iframe.onload = function () { setTimeout(next, 0) };
  document.body.appendChild(iframe);

  setTimeout(next, 0);
}
</script>
</head>

<body onload="load()">
Testcase
</body>
</html>