schema.json (2828B)
1 [ 2 { 3 "namespace": "addonsSearchDetection", 4 "functions": [ 5 { 6 "name": "getEngines", 7 "type": "function", 8 "async": true, 9 "parameters": [] 10 }, 11 { 12 "name": "getAddonVersion", 13 "type": "function", 14 "async": true, 15 "parameters": [{ "name": "addonId", "type": "string" }] 16 }, 17 { 18 "name": "getPublicSuffix", 19 "type": "function", 20 "async": true, 21 "parameters": [{ "name": "url", "type": "string" }] 22 }, 23 { 24 "name": "reportSameSiteRedirect", 25 "type": "function", 26 "async": false, 27 "parameters": [ 28 { 29 "name": "extra", 30 "type": "object", 31 "properties": { 32 "addonId": { "type": "string" }, 33 "addonVersion": { "type": "string" }, 34 "origin": { "type": "string" }, 35 "paramChanged": { "type": "boolean" } 36 } 37 } 38 ] 39 }, 40 { 41 "name": "reportETLDChangeOther", 42 "type": "function", 43 "async": false, 44 "parameters": [ 45 { 46 "name": "extra", 47 "type": "object", 48 "properties": { 49 "addonId": { "type": "string" }, 50 "addonVersion": { "type": "string" }, 51 "from": { "type": "string" }, 52 "to": { "type": "string" }, 53 "value": { "type": "string" } 54 } 55 } 56 ] 57 }, 58 { 59 "name": "reportETLDChangeWebrequest", 60 "type": "function", 61 "async": false, 62 "parameters": [ 63 { 64 "name": "extra", 65 "type": "object", 66 "properties": { 67 "addonId": { "type": "string" }, 68 "addonVersion": { "type": "string" }, 69 "from": { "type": "string" }, 70 "to": { "type": "string" }, 71 "value": { "type": "string" } 72 } 73 } 74 ] 75 } 76 ], 77 "events": [ 78 { 79 "name": "onSearchEngineModified", 80 "type": "function", 81 "parameters": [] 82 }, 83 { 84 "name": "onRedirected", 85 "type": "function", 86 "parameters": [ 87 { 88 "name": "details", 89 "type": "object", 90 "properties": { 91 "addonId": { "type": "string" }, 92 "firstUrl": { "type": "string" }, 93 "lastUrl": { "type": "string" } 94 } 95 } 96 ], 97 "extraParameters": [ 98 { 99 "name": "filter", 100 "type": "object", 101 "properties": { 102 "urls": { 103 "type": "array", 104 "items": { "type": "string" }, 105 "minItems": 1 106 } 107 } 108 } 109 ] 110 } 111 ] 112 } 113 ]