Sat, 03 Jan 2015 20:18:00 +0100
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 <!-- This Source Code Form is subject to the terms of the Mozilla Public
2 - License, v. 2.0. If a copy of the MPL was not distributed with this
3 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
6 <ShortName>IconsTest</ShortName>
7 <Description>IconsTest. Search by Test.</Description>
8 <InputEncoding>UTF-8</InputEncoding>
9 <Image width="16" height="16">data:image/x-icon;base64,ico16</Image>
10 <Image width="32" height="32">data:image/x-icon;base64,ico32</Image>
11 <Image width="74" height="74">data:image/png;base64,ico74</Image>
12 <Url type="application/x-suggestions+json" template="http://api.bing.com/osjson.aspx">
13 <Param name="query" value="{searchTerms}"/>
14 <Param name="form" value="MOZW"/>
15 </Url>
16 <Url type="text/html" method="GET" template="http://www.bing.com/search">
17 <Param name="q" value="{searchTerms}"/>
18 <MozParam name="pc" condition="pref" pref="ms-pc"/>
19 <Param name="form" value="MOZW"/>
20 </Url>
21 <SearchForm>http://www.bing.com/search</SearchForm>
22 </SearchPlugin>