gecko/toolkit/content/tests/chrome/bug558403.visual.html
Simon Montagu b49c3ecda7 Test for bug 558403
--HG--
rename : toolkit/content/tests/chrome/bug437844.css => toolkit/content/tests/chrome/rtlchrome/rtl.css
rename : toolkit/content/tests/chrome/bug437844.dtd => toolkit/content/tests/chrome/rtlchrome/rtl.dtd
rename : toolkit/content/tests/chrome/bug437844.manifest => toolkit/content/tests/chrome/rtlchrome/rtl.manifest
2010-04-29 09:08:15 +03:00

23 lines
737 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-8">
<title>Plugin with Visual Hebrew</title>
</head>
<body dir="rtl">
<embed type="application/x-test" width="400" height="400" id="crashme"></embed>
<script type="text/javascript">
var plugin = document.getElementById("crashme");
function checkForCrashUI() {
if (getComputedStyle(plugin, null).MozBinding != "none") {
document.documentElement.removeAttribute("class");
clearInterval(interval);
}
}
var interval = setInterval(checkForCrashUI, 100);
setTimeout(function() { plugin.crash(); }, 0);
</script>
</body>
</html>