gfx/tests/crashtests/783041-3.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 #el0 {
michael@0 8 height: 200px ! important;
michael@0 9 padding: 4px;
michael@0 10 white-space: pre-wrap;
michael@0 11 margin-top: 0px;
michael@0 12 display: table;
michael@0 13 }
michael@0 14 #el3 {
michael@0 15 line-height: 3px;
michael@0 16 text-shadow: 0px 5px 5px, 0px -20px 10px;
michael@0 17 }
michael@0 18 #el3:before { display: inline-block; }
michael@0 19 #el3:first-of-type { transform: translate3d(-30px, -300px, 0px); }
michael@0 20 #el3:first-child { display: table-row-group; }
michael@0 21 #el5:before { -moz-margin-before:1em; display: list-item; content: counter(c, ethiopic-halehame-tig) attr(id); counter-increment: c 810; }
michael@0 22 #el5 { list-style-type:lower-greek }
michael@0 23 #el5 { background:red;margin:0;height:1em;display:block }
michael@0 24 #el5:nth-child(3) { -moz-svg-shadow:5px 5px 5px red; display: link; content: counter(c, asterisks) attr(id); counter-increment: c 266; }
michael@0 25
michael@0 26 .c4 {
michael@0 27 margin: 1em; }
michael@0 28 #el7 { font-size:.92em }
michael@0 29 #el3 { font-size:.92em }
michael@0 30 .c4 { padding:0.4em 0.5em 0.4em 2.5em }
michael@0 31 .c4:after { margin:2px; display: -moz-box; content: counter(c, octal) attr(id); counter-increment: c 171; }
michael@0 32 .c4:before { -moz-user-drag:none; display: -moz-inline-flexbox; content: counter(c, hiragana-iroha) attr(id); counter-increment: c 209; }
michael@0 33 .c4:only-of-type { -moz-logical-height:50px; display: -moz-box; content: counter(c, binary) attr(id); counter-increment: c 871; }
michael@0 34 </style>
michael@0 35 <script>
michael@0 36 onload = function() {
michael@0 37 el0=document.createElement('ul')
michael@0 38 el0.setAttribute('id','el0')
michael@0 39 document.body.appendChild(el0)
michael@0 40
michael@0 41 el1=document.createElement('canvas')
michael@0 42 document.body.appendChild(el1)
michael@0 43
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 el4=document.createElement('progress')
michael@0 50 el4.setAttribute('id','el4')
michael@0 51 document.body.appendChild(el4)
michael@0 52
michael@0 53 el5=document.createElement('q')
michael@0 54 el5.setAttribute('id','el5')
michael@0 55 el3.appendChild(el5)
michael@0 56
michael@0 57 el0.appendChild(document.createTextNode('A'))
michael@0 58
michael@0 59 el7=document.createElement('iframe')
michael@0 60 el7.setAttribute('id', 'el7')
michael@0 61 el0.parentNode.insertBefore(el7, el0)
michael@0 62 el0.setAttribute('class', 'c4');
michael@0 63 el3.setAttribute('class', 'c4');
michael@0 64 el7.setAttribute('class', 'c4');
michael@0 65 setTimeout("window.close()", 5000)
michael@0 66 }
michael@0 67 </script>
michael@0 68 </head>
michael@0 69 <body>
michael@0 70 </body>
michael@0 71 </html>

mercurial