dom/plugins/test/reftest/pluginproblemui-direction-1-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/plugins/test/reftest/pluginproblemui-direction-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-expect-process-crash reftest-wait">
     1.6 +  <head>
     1.7 +    <title>Plugin Problem UI directionality test</title>
     1.8 +  </head>
     1.9 +  <body dir="ltr" style="text-align: left;">
    1.10 +    <embed type="application/x-test" width="400" height="400" id="crashme"></embed>
    1.11 +    <script type="text/javascript">
    1.12 +      var plugin = document.getElementById("crashme");
    1.13 +      function checkForCrashUI() {
    1.14 +        if (getComputedStyle(plugin, null).MozBinding != "none") {
    1.15 +          document.documentElement.classList.remove("reftest-wait");
    1.16 +          clearInterval(interval);
    1.17 +        }
    1.18 +      }
    1.19 +
    1.20 +      var interval = setInterval(checkForCrashUI, 100);
    1.21 +      setTimeout(function() { plugin.crash(); }, 0);
    1.22 +    </script>
    1.23 +  </body>
    1.24 +</html>

mercurial