Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <body onload="start()">
5 <iframe id="i" style="margin-top:100px; width:100%; height:600px;" src="layer-change-1-frame.html"></iframe>
6 <script>
7 var subw = document.getElementById("i").contentWindow;
8 function doTest() {
9 subw.scrollTo(0,0);
10 document.documentElement.removeAttribute("class");
11 }
12 function start() {
13 subw.scrollTo(0,2000);
14 }
15 window.addEventListener("MozReftestInvalidate", doTest, false);
16 </script>
17 </body>
18 </html>