dom/xbl/crashtests/232095-1.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 <window
     4   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     5   xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     6   xmlns:xbl="http://www.mozilla.org/xbl"
     7   xmlns:html="http://www.w3.org/1999/xhtml"
     8   >
     9 <bindings xmlns="http://www.mozilla.org/xbl">
    10   <binding id="serverpost_base">
    11     <implementation>
    12       <method name="getSuccessfulControls">
    13         <parameter name="aNode"/>
    14         <body><![CDATA[
    15           dump("<html:input type="file"/> has not been tested yet!  This may not work!!!\n");
    16         ]]></body>
    17       </method>
    19       <method name='finalizeAndSubmit'>
    20         <body>
    21 	  return true;
    22         </body>
    23       </method>
    24     </implementation>
    25   </binding>
    26 </bindings>
    28   <html:style type="text/css"><![CDATA[
    29   @namespace xbl url("http://www.mozilla.org/xbl");
    30   @namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    32   xbl|bindings {
    33     display: none;
    34   }
    36   xul|serverpost {
    37     -moz-binding: url("#serverpost_base");
    38   }
    40   ]]></html:style>
    42   <serverpost/>
    43   <serverpost/>
    44 </window>

mercurial