Bug 1890277: part 1) Add CSP parser tests for `require-trusted-types-for`. r=tschuster
[gecko.git] / uriloader / exthandler / HandlerList.sys.mjs
blobe95d627c07d59d24cb2459b864187bcfcd5ea2af
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 file,
3  * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 export const kHandlerListVersion = 1;
7 export const kHandlerList = {
8   default: {
9     schemes: {
10       mailto: {
11         handlers: [
12           {
13             name: "Gmail",
14             uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
15           },
16         ],
17       },
18     },
19   },
20   cs: {
21     schemes: {
22       mailto: {
23         handlers: [
24           {
25             name: "Seznam",
26             uriTemplate: "https://email.seznam.cz/newMessageScreen?mailto=%s",
27           },
28           {
29             name: "Gmail",
30             uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
31           },
32         ],
33       },
34     },
35   },
36   "es-CL": {
37     schemes: {
38       mailto: {
39         handlers: [
40           {
41             name: "Gmail",
42             uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
43           },
44           {
45             name: "Outlook",
46             uriTemplate:
47               "https://outlook.live.com/default.aspx?rru=compose&to=%s",
48           },
49         ],
50       },
51     },
52   },
53   "ja-JP-mac": {
54     schemes: {
55       mailto: {
56         handlers: [
57           {
58             name: "Yahoo!メール",
59             uriTemplate: "https://mail.yahoo.co.jp/compose/?To=%s",
60           },
61           {
62             name: "Gmail",
63             uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
64           },
65         ],
66       },
67     },
68   },
69   ja: {
70     schemes: {
71       mailto: {
72         handlers: [
73           {
74             name: "Yahoo!メール",
75             uriTemplate: "https://mail.yahoo.co.jp/compose/?To=%s",
76           },
77           {
78             name: "Gmail",
79             uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
80           },
81         ],
82       },
83     },
84   },
85   kk: {
86     schemes: {
87       mailto: {
88         handlers: [
89           {
90             name: "Яндекс.Почта",
91             uriTemplate: "https://mail.yandex.ru/compose?mailto=%s",
92           },
93           {
94             name: "Mail.Ru",
95             uriTemplate: "https://e.mail.ru/cgi-bin/sentmsg?mailto=%s",
96           },
97           {
98             name: "Gmail",
99             uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
100           },
101         ],
102       },
103     },
104   },
105   ltg: {
106     schemes: {
107       mailto: {
108         handlers: [
109           {
110             name: "Gmail",
111             uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
112           },
113           {
114             name: "inbox.lv mail",
115             uriTemplate: "https://mail.inbox.lv/compose?to=%s",
116           },
117         ],
118       },
119     },
120   },
121   lv: {
122     schemes: {
123       mailto: {
124         handlers: [
125           {
126             name: "Gmail",
127             uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
128           },
129           {
130             name: "inbox.lv mail",
131             uriTemplate: "https://mail.inbox.lv/compose?to=%s",
132           },
133         ],
134       },
135     },
136   },
137   pl: {
138     schemes: {
139       mailto: {
140         handlers: [
141           {
142             name: "Poczta Interia.pl",
143             uriTemplate: "https://poczta.interia.pl/mh/?mailto=%s",
144           },
145           {
146             name: "Gmail",
147             uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
148           },
149         ],
150       },
151     },
152   },
153   ru: {
154     schemes: {
155       mailto: {
156         handlers: [
157           {
158             name: "Яндекс.Почту",
159             uriTemplate: "https://mail.yandex.ru/compose?mailto=%s",
160           },
161           {
162             name: "Mail.Ru",
163             uriTemplate: "https://e.mail.ru/cgi-bin/sentmsg?mailto=%s",
164           },
165           {
166             name: "Gmail",
167             uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
168           },
169         ],
170       },
171     },
172   },
173   uk: {
174     schemes: {
175       mailto: {
176         handlers: [
177           {
178             name: "Gmail",
179             uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
180           },
181           {
182             name: "Outlook",
183             uriTemplate:
184               "https://outlook.live.com/default.aspx?rru=compose&to=%s",
185           },
186         ],
187       },
188     },
189   },
190   uz: {
191     schemes: {
192       mailto: {
193         handlers: [
194           {
195             name: "Gmail",
196             uriTemplate: "https://mail.google.com/mail/?extsrc=mailto&url=%s",
197           },
198           {
199             name: "Mail.Ru",
200             uriTemplate: "https://e.mail.ru/cgi-bin/sentmsg?mailto=%s",
201           },
202         ],
203       },
204     },
205   },