js/xpconnect/tests/mochitest/file_bug795275.xml

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 <bindings id="xbltestBindings" xmlns="http://www.mozilla.org/xbl"
     3           xmlns:html="http://www.w3.org/1999/xhtml">
     4 <binding id="xbltest">
     5 <implementation>
     6 <method name="testMethod" exposeToUntrustedContent="true">
     7 <body>
     8   Components.interfaces;
     9 </body>
    10 </method>
    11 <property name="testProp" readonly="true"
    12           onget="Components; return 3;"
    13           exposeToUntrustedContent="true" />
    14 <constructor>
    15   var foo = Components;
    16 </constructor>
    17 </implementation>
    18 </binding>
    19 </bindings>

mercurial