dom/browser-element/mochitest/priority/file_NestedFramesOuter.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/browser-element/mochitest/priority/file_NestedFramesOuter.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +<html>
     1.5 +<body>
     1.6 +<p>file_NestedFramesOuter.html</p>
     1.7 +<script>
     1.8 +
     1.9 +addEventListener('load', function() {
    1.10 +  setTimeout(createIframe, 0);
    1.11 +});
    1.12 +
    1.13 +function createIframe()
    1.14 +{
    1.15 +  var iframe = document.createElement('iframe');
    1.16 +  iframe.setAttribute('mozbrowser', true);
    1.17 +  iframe.src = location.hash.substr(1);
    1.18 +  document.body.appendChild(iframe);
    1.19 +}
    1.20 +
    1.21 +</script>
    1.22 +</body>
    1.23 +</html>

mercurial