layout/reftests/bugs/381746-1.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <html class="reftest-wait"><head>
     2 <title>Testcase Bug 381746 - odd and changing border in frameset</title>
     3 <script>
     4 var frameOnloadCalled = false;
     5 function frameOnload() {
     6   if (!frameOnloadCalled) {
     7     frameOnloadCalled = true;
     8     return;
     9   }
    10   document.documentElement.removeAttribute("class");
    11 }
    12 function doe() {
    13 document.getElementsByTagName('frame')[0].src = 'data:text/html;charset=utf-8,<body onload="parent.frameOnload();">text';
    14 document.getElementsByTagName('frame')[1].src = 'data:text/html;charset=utf-8,<body onload="parent.frameOnload();">text';
    15 }
    16 window.onload=doe;
    17 </script>
    18 </head>
    19 <frameset cols="48%,52%">
    20   <frame src="">
    21   <frame src="">
    22 </frameset>
    23 </html>

mercurial