https://github.com/mozilla/gecko-dev
Raw File
Tip revision: e031440b1a1c7900f862a6c7e8cdba52185deb67 authored by Rail Aliiev on 13 February 2013, 19:35:18 UTC
Bug 840848 - Update the gonk snapshot for b2g v1.0.0. r=hwine, a=akeybl
Tip revision: e031440
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