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.

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

mercurial