https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 157c269c5a67e71c7df0c105418d9f92dcdc787a authored by ffxbld on 05 December 2013, 15:15:21 UTC
Added FENNEC_26_0_RELEASE FENNEC_26_0_BUILD2 tag(s) for changeset 6f83870c1811. DONTBUILD CLOSED TREE a=release
Tip revision: 157c269
609560-1.xhtml
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<script>
<![CDATA[

function x()
{
 var p = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
 var frame = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
 frame.onload = y;
 frame.src = "data:text/html,1";
 document.body.appendChild(frame);
 var frameRoot = frame.contentDocument.documentElement;

  function y()
  {
    var frameDoc = frameRoot.ownerDocument;
    frameRoot.appendChild(p);
    var attr = frameDoc.createAttributeNS("http://www.w3.org/1999/xhtml", "u");
    attr.w = {};
    p.setAttributeNode(attr);
    document.documentElement.removeAttribute("class");
  }
}

]]>
</script>
</head>

<body onload="setTimeout(x, 0);"></body>
</html>
back to top