mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
22
dom/svg/crashtests/723441-1.html
Normal file
22
dom/svg/crashtests/723441-1.html
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<body>
|
||||
<img id="x">
|
||||
<script>
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", "723441-resource.svg");
|
||||
xhr.overrideMimeType( 'text/plain; charset=x-user-defined' );
|
||||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState == 4) {
|
||||
var svg = xhr.responseText.replace(/#/g, '%23');
|
||||
var img = document.getElementById("x");
|
||||
img.onload = function() {
|
||||
document.documentElement.className = "";
|
||||
}
|
||||
img.src = "data:image/svg+xml;," + svg;
|
||||
}
|
||||
}
|
||||
xhr.send();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue