Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <body style="margin:0">
4 <object type="application/x-test" id="plugin"
5 drawmode="solid" color="00000000"
6 style="width:200px; height:200px; display:block; margin:90px 80px;
7 outline:5px dashed blue;
8 background:cyan;
9 border:dotted black; border-width:4px 8px 4px 8px;
10 padding:3px 1px;">
11 </object>
12 <script>
13 var prevPaintCount = 0;
14 function doTestWait() {
15 if (document.getElementById("plugin").getPaintCount() != prevPaintCount) {
16 document.documentElement.removeAttribute('class');
17 } else {
18 setTimeout(doTestWait, 0);
19 }
20 }
22 function doTest() {
23 prevPaintCount = document.getElementById("plugin").getPaintCount();
24 document.getElementById("plugin").setColor("FFFF80FF");
25 setTimeout(doTestWait, 0);
27 }
28 window.addEventListener("MozReftestInvalidate", doTest, false);
29 </script>
30 </body>
31 </html>