~ubuntu-branches/ubuntu/jaunty/xulrunner-1.9/jaunty

« back to all changes in this revision

Viewing changes to mozilla/layout/reftests/bugs/482659-1c.html

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-03-27 11:01:58 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20090327110158-jncj3np2zz3kjwit
Tags: 1.9.0.8+nobinonly-0ubuntu1
* security/stability v1.9.0.8 (FIREFOX_3_0_8_RELEASE)
  - see USN-745-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html>
 
2
<html class="reftest-wait">
 
3
  <head>
 
4
    <script>
 
5
      window.onload = function() {
 
6
        window.frames[0].location =
 
7
          'javascript:document.write(""); document.close(); ' +
 
8
          'parent.continueTest();'
 
9
      }
 
10
 
 
11
      function continueTest() {
 
12
        // Do this part async just in case
 
13
        setTimeout(function() {
 
14
          window.frames[0].document.body.innerHTML =
 
15
            "<img src='passouter.png' " +
 
16
            "onload='window.parent.document.documentElement.className = &quot;&quot;'";
 
17
                                                                                        }, 0);
 
18
      }
 
19
    </script>
 
20
  </head>
 
21
  <body>
 
22
    <iframe></iframe>
 
23
  </body>
 
24
</html>
 
25