https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 1c1ac9fcff5624021cc6807a5f15ed0b1796efc6 authored by ffxbld on 06 November 2016, 03:11:57 UTC
Added FENNEC_50_0_RELEASE FENNEC_50_0_BUILD1 tag(s) for changeset 3d81a5476f96. DONTBUILD CLOSED TREE a=release
Tip revision: 1c1ac9f
330925-1.xhtml
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">

<head>

<script>

function init()
{
  var foopy = document.getElementById("foopy");
  var emb = document.getElementById("emb");

  try {  
    foopy.appendChild(SpecialPowers.unwrap(SpecialPowers.wrap(document).getAnonymousNodes(emb))[0]);
    emb.parentNode.removeChild(emb);
    foopy.parentNode.removeChild(foopy);
  } catch (e) {
  }
  
  document.documentElement.removeAttribute("class");
}


window.addEventListener("load", function() { setTimeout(init, 30); }, false);

</script>

</head>
<body> 

<div id="foopy"/>

<embed src="data:foo/bar,baz" id="emb" />

</body>
</html>
back to top