dom/events/test/bug591249_iframe.xul

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 <?xml version="1.0"?>
     2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
     3 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
     4 <!--
     5 https://bugzilla.mozilla.org/show_bug.cgi?id=591249
     6 -->
     7 <window title="Mozilla Bug 591249"
     8   xmlns:html="http://www.w3.org/1999/xhtml"
     9   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    10   <html:style type="text/css">
    11     #drop-target {
    12       width: 50px;
    13       height: 50px;
    14       border: 4px dotted black;
    15     }
    16     #drop-target {
    17       background-color: red;
    18     }
    19     #drop-target:-moz-drag-over {
    20       background-color: yellow;
    21     }
    22   </html:style>
    24   <html:body>
    25     <html:h1 id="iframetext">Iframe for Bug 591249</html:h1>
    27     <html:div id="drop-target"
    28          ondrop="return false;"
    29          ondragenter="return false;"
    30          ondragover="return false;">
    31     </html:div>
    32   </html:body>
    33 </window>

mercurial