gfx/tests/crashtests/595727-1.html
author Ben Turner <bent.mozilla@gmail.com>
Fri, 04 Feb 2011 11:48:59 -0800
changeset 61948 9414d1eaeeeb0342fc6e44e6c4efcdb10f213803
parent 57076 44cc8965647ed6a07aebdb3876ce520b2b96fca1
permissions -rw-r--r--
Bug 631452 - 'LazyIdleThread can race with newly dispatched events when shutting down'. r=sdwilsh, a=blocking.

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>

function doTest()
{
  var r = document.documentElement;
  while(r.firstChild) { r.removeChild(r.firstChild); }
  var body = document.createElementNS("http://www.w3.org/1999/xhtml", "body"); 
  r.appendChild(body); 
  body.contentEditable = "true"; 
  document.execCommand("inserthtml", false, "<span style=\"position:relative;left:0.8px\">a<select></select>a</span>"); 

  document.documentElement.removeAttribute("class");
}

document.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</head>

<body></body>
</html>