2 <html class=
"reftest-wait">
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
;