gfx/tests/crashtests/783041-1.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>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5 <head>
michael@0 6 <style>
michael@0 7 #el7 {
michael@0 8 font-size:.92em
michael@0 9 }
michael@0 10 #el0 {
michael@0 11 height: 200px ! important;
michael@0 12 margin: 0px;
michael@0 13 display: table;
michael@0 14 font-size:.92em
michael@0 15 }
michael@0 16
michael@0 17 #el3 {
michael@0 18 line-height: 0.5px;
michael@0 19 text-shadow: 0px 5px 5px, 0px -20px 10px;
michael@0 20 display: table-row-group;
michael@0 21 transform: translate3d(-3px, -300px, 0px);
michael@0 22 }
michael@0 23
michael@0 24 #el5 {
michael@0 25 height:1em;
michael@0 26 display:block;
michael@0 27 }
michael@0 28
michael@0 29 .c4 {
michael@0 30 margin: 1em;
michael@0 31 padding: 0.5em;
michael@0 32 }
michael@0 33 </style>
michael@0 34 <script>
michael@0 35 onload = function() {
michael@0 36 el7=document.createElement('iframe')
michael@0 37 el7.setAttribute('id', 'el7')
michael@0 38 document.body.appendChild(el7)
michael@0 39
michael@0 40 el0=document.createElement('span')
michael@0 41 el0.setAttribute('id','el0')
michael@0 42 document.body.appendChild(el0)
michael@0 43 el0.appendChild(document.createTextNode('A'))
michael@0 44
michael@0 45 el3=document.createElement('q')
michael@0 46 el3.setAttribute('id','el3')
michael@0 47 el0.appendChild(el3)
michael@0 48
michael@0 49 el5=document.createElement('q')
michael@0 50 el5.setAttribute('id','el5')
michael@0 51 el3.appendChild(el5)
michael@0 52
michael@0 53 el0.appendChild(document.createTextNode('A'))
michael@0 54
michael@0 55 document.body.offsetTop
michael@0 56 el0.setAttribute('class', 'c4');
michael@0 57 el7.setAttribute('class', 'c4');
michael@0 58 }
michael@0 59 </script>
michael@0 60 </head>
michael@0 61 <body>
michael@0 62 </body>
michael@0 63 </html>

mercurial