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.

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

mercurial