Bug 1928997: Update tabs icon in Unified Search popup r=desktop-theme-reviewers,daleh...
[gecko.git] / dom / svg / crashtests / 723441-1.html
blob959e9fa9532b2e39d94fc78f0afee325422e0228
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <body>
4 <img id="x">
5 <script>
6 var xhr = new XMLHttpRequest();
7 xhr.open("GET", "723441-resource.svg");
8 xhr.overrideMimeType( 'text/plain; charset=x-user-defined' );
9 xhr.onreadystatechange = function() {
10 if (xhr.readyState == 4) {
11 var svg = xhr.responseText.replace(/#/g, '%23');
12 var img = document.getElementById("x");
13 img.onload = function() {
14 document.documentElement.className = "";
16 img.src = "data:image/svg+xml;," + svg;
19 xhr.send();
20 </script>
21 </body>
22 </html>