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 | { |
michael@0 | 2 | "version": 7, |
michael@0 | 3 | "buildID": "20121106", |
michael@0 | 4 | "locale": "en-US", |
michael@0 | 5 | "directories": { |
michael@0 | 6 | "[profile]/searchplugins": { |
michael@0 | 7 | "lastModifiedTime": 1333761316000, |
michael@0 | 8 | "engines": [ |
michael@0 | 9 | { |
michael@0 | 10 | "_id": "[app]/test-search-engine.xml", |
michael@0 | 11 | "_name": "Test search engine", |
michael@0 | 12 | "_hidden": false, |
michael@0 | 13 | "description": "A test search engine (based on Google search)", |
michael@0 | 14 | "__searchForm": "http://www.google.com/", |
michael@0 | 15 | "_iconURL": "data:image/png;base64,AAABAAEAEBAAAAEAGABoAwAAFgAAACgAAAAQAAAAIAAAAAEAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADs9Pt8xetPtu9FsfFNtu%2BTzvb2%2B%2Fne4dFJeBw0egA%2FfAJAfAA8ewBBegAAAAD%2B%2FPtft98Mp%2BwWsfAVsvEbs%2FQeqvF8xO7%2F%2F%2F63yqkxdgM7gwE%2FggM%2BfQA%2BegBDeQDe7PIbotgQufcMufEPtfIPsvAbs%2FQvq%2Bfz%2Bf%2F%2B%2B%2FZKhR05hgBBhQI8hgBAgAI9ewD0%2B%2Fg3pswAtO8Cxf4Kw%2FsJvvYAqupKsNv%2B%2Fv7%2F%2FP5VkSU0iQA7jQA9hgBDgQU%2BfQH%2F%2Ff%2FQ6fM4sM4KsN8AteMCruIqqdbZ7PH8%2Fv%2Fg6Nc%2Fhg05kAA8jAM9iQI%2BhQA%2BgQDQu6b97uv%2F%2F%2F7V8Pqw3eiWz97q8%2Ff%2F%2F%2F%2F7%2FPptpkkqjQE4kwA7kAA5iwI8iAA8hQCOSSKdXjiyflbAkG7u2s%2F%2B%2F%2F39%2F%2F7r8utrqEYtjQE8lgA7kwA7kwA9jwA9igA9hACiWSekVRyeSgiYSBHx6N%2F%2B%2Fv7k7OFRmiYtlAA5lwI7lwI4lAA7kgI9jwE9iwI4iQCoVhWcTxCmb0K%2BooT8%2Fv%2F7%2F%2F%2FJ2r8fdwI1mwA3mQA3mgA8lAE8lAE4jwA9iwE%2BhwGfXifWvqz%2B%2Ff%2F58u%2Fev6Dt4tr%2B%2F%2F2ZuIUsggA7mgM6mAM3lgA5lgA6kQE%2FkwBChwHt4dv%2F%2F%2F728ei1bCi7VAC5XQ7kz7n%2F%2F%2F6bsZkgcB03lQA9lgM7kwA2iQktZToPK4r9%2F%2F%2F9%2F%2F%2FSqYK5UwDKZAS9WALIkFn%2B%2F%2F3%2F%2BP8oKccGGcIRJrERILYFEMwAAuEAAdX%2F%2Ff7%2F%2FP%2B%2BfDvGXQLIZgLEWgLOjlf7%2F%2F%2F%2F%2F%2F9QU90EAPQAAf8DAP0AAfMAAOUDAtr%2F%2F%2F%2F7%2B%2Fu2bCTIYwDPZgDBWQDSr4P%2F%2Fv%2F%2F%2FP5GRuABAPkAA%2FwBAfkDAPAAAesAAN%2F%2F%2B%2Fz%2F%2F%2F64g1C5VwDMYwK8Yg7y5tz8%2Fv%2FV1PYKDOcAAP0DAf4AAf0AAfYEAOwAAuAAAAD%2F%2FPvi28ymXyChTATRrIb8%2F%2F3v8fk6P8MAAdUCAvoAAP0CAP0AAfYAAO4AAACAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAQAA", |
michael@0 | 16 | "_urls": [ |
michael@0 | 17 | { |
michael@0 | 18 | "template": "http://suggestqueries.google.com/complete/search?output=firefox&client=firefox&hl={moz:locale}&q={searchTerms}", |
michael@0 | 19 | "rels": [ |
michael@0 | 20 | ], |
michael@0 | 21 | "type": "application/x-suggestions+json", |
michael@0 | 22 | "params": [ |
michael@0 | 23 | ] |
michael@0 | 24 | }, |
michael@0 | 25 | { |
michael@0 | 26 | "template": "http://www.google.com/search", |
michael@0 | 27 | "resultDomain": "google.com", |
michael@0 | 28 | "rels": [ |
michael@0 | 29 | ], |
michael@0 | 30 | "params": [ |
michael@0 | 31 | { |
michael@0 | 32 | "name": "q", |
michael@0 | 33 | "value": "{searchTerms}" |
michael@0 | 34 | }, |
michael@0 | 35 | { |
michael@0 | 36 | "name": "ie", |
michael@0 | 37 | "value": "utf-8" |
michael@0 | 38 | }, |
michael@0 | 39 | { |
michael@0 | 40 | "name": "oe", |
michael@0 | 41 | "value": "utf-8" |
michael@0 | 42 | }, |
michael@0 | 43 | { |
michael@0 | 44 | "name": "aq", |
michael@0 | 45 | "value": "t" |
michael@0 | 46 | }, |
michael@0 | 47 | { |
michael@0 | 48 | "name": "client", |
michael@0 | 49 | "falseValue": "firefox", |
michael@0 | 50 | "trueValue": "firefox-a", |
michael@0 | 51 | "condition": "defaultEngine", |
michael@0 | 52 | "mozparam": true |
michael@0 | 53 | }, |
michael@0 | 54 | { |
michael@0 | 55 | "name": "channel", |
michael@0 | 56 | "value": "fflb", |
michael@0 | 57 | "purpose": "keyword" |
michael@0 | 58 | }, |
michael@0 | 59 | { |
michael@0 | 60 | "name": "channel", |
michael@0 | 61 | "value": "rcs", |
michael@0 | 62 | "purpose": "contextmenu" |
michael@0 | 63 | } |
michael@0 | 64 | ] |
michael@0 | 65 | }, |
michael@0 | 66 | { |
michael@0 | 67 | "template": "http://www.google.com/search", |
michael@0 | 68 | "resultDomain": "purpose.google.com", |
michael@0 | 69 | "rels": [ |
michael@0 | 70 | ], |
michael@0 | 71 | "type": "application/x-moz-default-purpose", |
michael@0 | 72 | "params": [ |
michael@0 | 73 | { |
michael@0 | 74 | "name": "q", |
michael@0 | 75 | "value": "{searchTerms}" |
michael@0 | 76 | }, |
michael@0 | 77 | { |
michael@0 | 78 | "name": "client", |
michael@0 | 79 | "falseValue": "firefox", |
michael@0 | 80 | "trueValue": "firefox-a", |
michael@0 | 81 | "condition": "defaultEngine", |
michael@0 | 82 | "mozparam": true |
michael@0 | 83 | }, |
michael@0 | 84 | { |
michael@0 | 85 | "name": "channel", |
michael@0 | 86 | "value": "none", |
michael@0 | 87 | "purpose": "" |
michael@0 | 88 | }, |
michael@0 | 89 | { |
michael@0 | 90 | "name": "channel", |
michael@0 | 91 | "value": "fflb", |
michael@0 | 92 | "purpose": "keyword" |
michael@0 | 93 | }, |
michael@0 | 94 | { |
michael@0 | 95 | "name": "channel", |
michael@0 | 96 | "value": "rcs", |
michael@0 | 97 | "purpose": "contextmenu" |
michael@0 | 98 | } |
michael@0 | 99 | ] |
michael@0 | 100 | } |
michael@0 | 101 | ], |
michael@0 | 102 | "filePath": "[profile]/searchplugins/test-search-engine.xml", |
michael@0 | 103 | "_installLocation": 4, |
michael@0 | 104 | "queryCharset": "UTF-8", |
michael@0 | 105 | "_readOnly": false |
michael@0 | 106 | } |
michael@0 | 107 | ] |
michael@0 | 108 | } |
michael@0 | 109 | } |
michael@0 | 110 | } |