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 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/licenses/publicdomain/
5 Test that document.mozSetImageElement() after an image load causes a repaint.
6 -->
7 <!DOCTYPE html>
8 <html class="reftest-wait">
9 <body style="background: -moz-element(#e) red">
11 <script>
13 window.addEventListener("MozReftestInvalidate", function () {
14 var img = new Image();
15 img.src = "data:image/gif;base64,R0lGODlhAQABAID/AP///wAAACwAAAAAAQABAAACAkQBADs="; /* 1x1 white gif */
16 document.mozSetImageElement("e", img);
17 img.onload = function () {
18 document.documentElement.className = "";
19 };
20 }, false);
22 </script>
23 </body>
24 </html>