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