dom/encoding/test/reftest/bug863728-2.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!DOCTYPE html>
     2 <html class=reftest-wait>
     3 <meta charset=utf-8>
     4 <script>
     5 function runTest() {
     6   var r = document.documentElement;
     7   var d = window[0].document;
     8   var i = d.createElement("iframe");
     9   i.src = "data:text/html,PASS";
    10   i.onload = function() {
    11     r.removeAttribute("class");
    12   }
    13   d.body.appendChild(i);
    14 }
    15 </script>
    16 <body onload="runTest();">
    17 <iframe src="bug863728-1.html" width=400 height=200></iframe>

mercurial