Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 <?xml version="1.0"?>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/licenses/publicdomain/
5 -->
6 <svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait">
7 <title>Test that suspendRedraw doesn't apply after the end of a script</title>
8 <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=734079 -->
10 <script type="text/javascript">
11 <![CDATA[
13 document.addEventListener("MozReftestInvalidate", doTest, false);
14 setTimeout(doTest, 4000); // fallback for running outside reftest
16 function doTest() {
17 var svg = document.documentElement;
18 svg.suspendRedraw(10000);
19 document.getElementById("r").setAttribute("fill", "lime");
20 setTimeout(function() {
21 svg.removeAttribute("class");
22 }, 50);
23 }
24 ]]>
25 </script>
26 <rect id="r" width="100%" height="100%" fill="red"/>
27 </svg>