https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 55bff5a718a2721e65d20d85e2d57d20da571dcf authored by Ryan VanderMeulen on 27 September 2023, 23:12:23 UTC
Bug 1855550 - VP8: disallow thread count changes. r=jesup, a=dsmith
Tip revision: 55bff5a
bug632215-1.html
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <script src="/tests/SimpleTest/EventUtils.js"></script>
  </head>
  <body>
    <iframe srcdoc="<body spellcheck=false></body>"></iframe>
    <script>
      onload = function() {
        var i = document.querySelector("iframe");
        var d = i.contentDocument;
        var w = i.contentWindow;
        var s = w.getSelection();
        i.focus();
        d.body.contentEditable = true;
        d.body.contentEditable = false;
        d.designMode = "off";
        d.designMode = "on";
        d.body.focus();
        sendString("x");
        s.collapse(d.body.firstChild, 1);
        sendString("x");
        setTimeout(function() {
          document.documentElement.removeAttribute("class");
        }, 0);
      };
    </script>
  </body>
</html>
back to top