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

« back to all changes in this revision

Viewing changes to mozilla/docshell/test/test_bug413310.html

  • Committer: Bazaar Package Importer
  • Author(s): Fabien Tassin, Sasa Bodiroza, Fabien Tassin, Alexander Sack
  • Date: 2008-09-02 11:54:00 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20080902115400-yfy26crvszpalvg5
Tags: 1.9.0.2+build3+nobinonly-0ubuntu1
[ Sasa Bodiroza ]
* In debian/rules:
  - Set 644 chmod to png files (LP: #252793) [Patch by Paolo Naldini]

[ Fabien Tassin ]
* improve create-build-system.sh to detect build-tree directory
  when embedded tarball is used. Fix un-escaped variables.
  Create build-system.tar.gz in the debian directory to prevent
  cdbs to check and unpack it during the build
  - update debian/create-build-system.sh
* Fix variables when an embedded tarball is used
  - update debian/rules
* Fix buffer overflow in realpath() at runtime and drop -U_FORTIFY_SOURCE
  from CPPFLAGS (LP: #263014)
  - add debian/patches/bz412610_att335369_realpath_overflow.patch
  - update debian/patches/series

[ Alexander Sack <asac@jwsdot.com> ]
* introduce preferred plugins by mime-type experimental feature;
  you can now set a pref to explicitly select a plugin to serve a particilar
  mime-type; patch contains further documentation.
  - add debian/patches/bzXXX_plugin_for_mimetype_pref.patch
  - update debian/patches/series
* drop patches applied upstream
  - drop bz120380_att326044.patch (fixed by bz442629)
  - update debian/patches/series

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
<body>
13
13
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=413310">Mozilla Bug 413310</a>
14
14
<p id="display">
15
 
<iframe id="i" src="bug413310-subframe.html" onload="setTimeout(doNextStep, 20)">
16
 
</iframe>
17
 
</p>
18
 
<div id="content" style="display: none">
19
 
  
20
 
</div>
21
 
<pre id="test">
22
15
<script class="testbody" type="text/javascript">
23
16
 
24
17
/** Test for Bug 413310 **/
25
18
 
26
19
// NOTE: If we ever make subframes do bfcache stuff, this test will need to be
27
 
// modified accordingly!  It assumes that subframes do not get bfcached.
 
20
// modified accordingly!  It assumes that subframes do NOT get bfcached.
28
21
var onloadCount = 0;
29
22
 
30
23
var step = -1;  // One increment will come from the initial subframe onload.
 
24
                // Note that this script should come before the subframe,
 
25
                // so that doNextStep is defined when its onload handler fires.
31
26
 
32
27
var textContent;
33
28
 
92
87
  }
93
88
}
94
89
</script>
 
90
<!-- Use a timeout in onload so that we don't do a load immediately inside onload -->
 
91
<iframe id="i" src="bug413310-subframe.html" onload="setTimeout(doNextStep, 20)">
 
92
</iframe>
 
93
</p>
 
94
<div id="content" style="display: none">
 
95
  
 
96
</div>
 
97
<pre id="test">
95
98
</pre>
96
99
</body>
97
100
</html>