https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 12375f822667aac9cd0be1ad500c1f40e783d2fd authored by Julien Cristau on 16 August 2019, 07:55:03 UTC
No bug - bump version number to 68.0.3. a=release DONTBUILD
Tip revision: 12375f8
338674-1.xhtml
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>

<script>

function boom()
{
  var s = document.getElementById("s")
  var t = s.previousSibling; // a whitespace text node..

  document.addEventListener("DOMAttrModified", bang, false);
  rM(s);
  document.removeEventListener("DOMAttrModified", bang, false);

  function bang(ev) {
    document.removeEventListener("DOMAttrModified", bang, false); // avoid accidental recursion, multiple calls, etc.
    rM(t);
  }
  
  document.documentElement.removeAttribute("class");
}

function rM(n) { n.parentNode.removeChild(n); }

</script>

</head>

<body onload="setTimeout(boom, 1);">

<div><select><option>C</option></select></div>

<span id="s">A <div>B</div></span>

</body>
</html>
back to top