gfx/tests/crashtests/441360.html

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 <html><head>
     2     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
     3     <title>Testcase for bug </title>
     4     <style type="text/css">
     6         html,body {
     7             color:black; background-color:white; font-size:16px; padding:0; margin:0;
     8         }
    11     </style>
    12 </head>
    13 <body>
    15 <div id="Image"></div>
    17 <script>
    18 var v;
    19 function insertImage() {
    20 	var img_node = document.createElement('iframe');
    21 	img_node.src = "441360_data.gif";
    22 	var image_div = document.getElementById('Image');
    23 	image_div.appendChild(img_node);
    24 }
    26 insertImage();
    27 v = document.body.offsetHeight;
    28 insertImage();
    29 v = document.body.offsetHeight;
    30 insertImage();
    31 v = document.body.offsetHeight;
    32 insertImage();
    33 v = document.body.offsetHeight;
    35 </script>
    38 </body>
    39 </html>

mercurial