summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/mochitest.ini
blob: 86b7fd0cdc74d92c9a1d5eaf481ca65d8148528b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
[DEFAULT]
support-files =
  file_base_uri_server.sjs
  file_blob_data_schemes.html
  file_connect-src.html
  file_connect-src-fetch.html
  file_CSP.css
  file_CSP.sjs
  file_allow_https_schemes.html
  file_bug663567.xsl
  file_bug663567_allows.xml
  file_bug663567_allows.xml^headers^
  file_bug663567_blocks.xml
  file_bug663567_blocks.xml^headers^
  file_bug802872.html
  file_bug802872.html^headers^
  file_bug802872.js
  file_bug802872.sjs
  file_bug885433_allows.html
  file_bug885433_allows.html^headers^
  file_bug885433_blocks.html
  file_bug885433_blocks.html^headers^
  file_bug888172.html
  file_bug888172.sjs
  file_evalscript_main.js
  file_evalscript_main_allowed.js
  file_evalscript_main.html
  file_evalscript_main.html^headers^
  file_evalscript_main_allowed.html
  file_evalscript_main_allowed.html^headers^
  file_frameancestors_main.html
  file_frameancestors_main.js
  file_frameancestors.sjs
  file_inlinescript.html
  file_inlinestyle_main.html
  file_inlinestyle_main.html^headers^
  file_inlinestyle_main_allowed.html
  file_inlinestyle_main_allowed.html^headers^
  file_invalid_source_expression.html
  file_main.html
  file_main.html^headers^
  file_main.js
  file_main_worker.js
  file_main_worker.js^headers^
  file_child_worker.js
  file_child_worker.js^headers^
  file_web_manifest.html
  file_web_manifest_remote.html
  file_web_manifest_https.html
  file_web_manifest.json
  file_web_manifest.json^headers^
  file_web_manifest_https.json
  file_web_manifest_mixed_content.html
  file_bug836922_npolicies.html
  file_bug836922_npolicies.html^headers^
  file_bug836922_npolicies_ro_violation.sjs
  file_bug836922_npolicies_violation.sjs
  file_bug886164.html
  file_bug886164.html^headers^
  file_bug886164_2.html
  file_bug886164_2.html^headers^
  file_bug886164_3.html
  file_bug886164_3.html^headers^
  file_bug886164_4.html
  file_bug886164_4.html^headers^
  file_bug886164_5.html
  file_bug886164_5.html^headers^
  file_bug886164_6.html
  file_bug886164_6.html^headers^
  file_redirects_main.html
  file_redirects_page.sjs
  file_redirects_resource.sjs
  file_bug910139.sjs
  file_bug910139.xml
  file_bug910139.xsl
  file_bug909029_star.html
  file_bug909029_star.html^headers^
  file_bug909029_none.html
  file_bug909029_none.html^headers^
  file_bug1229639.html
  file_bug1229639.html^headers^
  file_bug1312272.html
  file_bug1312272.js
  file_bug1312272.html^headers^
  file_policyuri_regression_from_multipolicy.html
  file_policyuri_regression_from_multipolicy.html^headers^
  file_policyuri_regression_from_multipolicy_policy
  file_shouldprocess.html
  file_nonce_source.html
  file_nonce_source.html^headers^
  file_nonce_redirects.html
  file_nonce_redirector.sjs
  file_bug941404.html
  file_bug941404_xhr.html
  file_bug941404_xhr.html^headers^
  file_frame_ancestors_ro.html
  file_frame_ancestors_ro.html^headers^
  file_hash_source.html
  file_dual_header_testserver.sjs
  file_hash_source.html^headers^
  file_scheme_relative_sources.js
  file_scheme_relative_sources.sjs
  file_ignore_unsafe_inline.html
  file_ignore_unsafe_inline_multiple_policies_server.sjs
  file_self_none_as_hostname_confusion.html
  file_self_none_as_hostname_confusion.html^headers^
  file_path_matching.html
  file_path_matching_incl_query.html
  file_path_matching.js
  file_path_matching_redirect.html
  file_path_matching_redirect_server.sjs
  file_testserver.sjs
  file_report_uri_missing_in_report_only_header.html
  file_report_uri_missing_in_report_only_header.html^headers^
  file_report.html
  file_report_chromescript.js
  file_redirect_content.sjs
  file_redirect_report.sjs
  file_subframe_run_js_if_allowed.html
  file_subframe_run_js_if_allowed.html^headers^
  file_leading_wildcard.html
  file_multi_policy_injection_bypass.html
  file_multi_policy_injection_bypass.html^headers^
  file_multi_policy_injection_bypass_2.html
  file_multi_policy_injection_bypass_2.html^headers^
  file_null_baseuri.html
  file_form-action.html
  file_referrerdirective.html
  referrerdirective.sjs
  file_upgrade_insecure.html
  file_upgrade_insecure_meta.html
  file_upgrade_insecure_server.sjs
  file_upgrade_insecure_wsh.py
  file_upgrade_insecure_reporting.html
  file_upgrade_insecure_reporting_server.sjs
  file_upgrade_insecure_referrer.sjs
  file_upgrade_insecure_referrer_server.sjs
  file_upgrade_insecure_cors.html
  file_upgrade_insecure_cors_server.sjs
  file_report_for_import.css
  file_report_for_import.html
  file_report_for_import_server.sjs
  file_service_worker.html
  file_service_worker.js
  file_child-src_iframe.html
  file_child-src_inner_frame.html
  file_child-src_worker.html
  file_child-src_worker_data.html
  file_child-src_worker-redirect.html
  file_child-src_worker.js
  file_child-src_service_worker.html
  file_child-src_service_worker.js
  file_child-src_shared_worker.html
  file_child-src_shared_worker_data.html
  file_child-src_shared_worker-redirect.html
  file_child-src_shared_worker.js
  file_redirect_worker.sjs
  file_meta_element.html
  file_meta_header_dual.sjs
  file_docwrite_meta.html
  file_doccomment_meta.html
  file_docwrite_meta.css
  file_docwrite_meta.js
  file_multipart_testserver.sjs
  file_fontloader.sjs
  file_fontloader.woff
  file_block_all_mcb.sjs
  file_block_all_mixed_content_frame_navigation1.html
  file_block_all_mixed_content_frame_navigation2.html
  file_form_action_server.sjs
  !/image/test/mochitest/blue.png
  file_meta_whitespace_skipping.html
  file_ping.html
  test_iframe_sandbox_top_1.html^headers^
  file_iframe_sandbox_document_write.html
  file_sandbox_pass.js
  file_sandbox_fail.js
  file_sandbox_1.html
  file_sandbox_2.html
  file_sandbox_3.html
  file_sandbox_4.html
  file_sandbox_5.html
  file_sandbox_6.html
  file_sandbox_7.html
  file_sandbox_8.html
  file_sandbox_9.html
  file_sandbox_10.html
  file_sandbox_11.html
  file_sandbox_12.html
  file_sandbox_13.html
  file_require_sri_meta.sjs
  file_require_sri_meta.js
  file_sendbeacon.html
  file_upgrade_insecure_docwrite_iframe.sjs
  file_data-uri_blocked.html
  file_data-uri_blocked.html^headers^
  file_strict_dynamic_js_url.html
  file_strict_dynamic_script_events.html
  file_strict_dynamic_script_events_xbl.html
  file_strict_dynamic_script_inline.html
  file_strict_dynamic_script_extern.html
  file_strict_dynamic.js
  file_strict_dynamic_parser_inserted_doc_write.html
  file_strict_dynamic_parser_inserted_doc_write_correct_nonce.html
  file_strict_dynamic_non_parser_inserted.html
  file_strict_dynamic_non_parser_inserted_inline.html
  file_strict_dynamic_unsafe_eval.html
  file_strict_dynamic_default_src.html
  file_strict_dynamic_default_src.js
  file_iframe_srcdoc.sjs
  file_iframe_sandbox_srcdoc.html
  file_iframe_sandbox_srcdoc.html^headers^
  file_ignore_xfo.html
  file_ignore_xfo.html^headers^
  file_ro_ignore_xfo.html
  file_ro_ignore_xfo.html^headers^
  file_upgrade_insecure_navigation.sjs
  file_image_nonce.html
  file_image_nonce.html^headers^
  file_punycode_host_src.sjs
  file_punycode_host_src.js
  file_websocket_self.html
  file_websocket_explicit.html
  file_websocket_self_wsh.py

[test_base-uri.html]
[test_blob_data_schemes.html]
[test_connect-src.html]
[test_CSP.html]
[test_allow_https_schemes.html]
[test_bug663567.html]
[test_bug802872.html]
[test_bug885433.html]
[test_bug888172.html]
[test_evalscript.html]
[test_frameancestors.html]
skip-if = toolkit == 'android' # Times out, not sure why (bug 1008445)
[test_inlinescript.html]
[test_inlinestyle.html]
[test_invalid_source_expression.html]
[test_bug836922_npolicies.html]
[test_bug886164.html]
[test_redirects.html]
[test_bug910139.html]
[test_bug909029.html]
[test_bug1229639.html]
[test_frame_ancestors_ro.html]
[test_policyuri_regression_from_multipolicy.html]
[test_nonce_source.html]
[test_nonce_redirects.html]
[test_bug941404.html]
[test_form-action.html]
[test_hash_source.html]
[test_scheme_relative_sources.html]
[test_ignore_unsafe_inline.html]
[test_self_none_as_hostname_confusion.html]
[test_path_matching.html]
[test_path_matching_redirect.html]
[test_report_uri_missing_in_report_only_header.html]
[test_report.html]
[test_301_redirect.html]
[test_302_redirect.html]
[test_303_redirect.html]
[test_307_redirect.html]
[test_subframe_run_js_if_allowed.html]
[test_leading_wildcard.html]
[test_multi_policy_injection_bypass.html]
[test_null_baseuri.html]
[test_referrerdirective.html]
[test_dual_header.html]
[test_upgrade_insecure.html]
# no ssl support as well as websocket tests do not work (see test_websocket.html)
skip-if = toolkit == 'android' || (os != 'linux' && !debug) # Bug 1316305, Bug 1183300
[test_upgrade_insecure_reporting.html]
skip-if = toolkit == 'android'
[test_upgrade_insecure_referrer.html]
skip-if = toolkit == 'android'
[test_upgrade_insecure_cors.html]
skip-if = toolkit == 'android'
[test_report_for_import.html]
[test_blocked_uri_in_reports.html]
[test_service_worker.html]
[test_child-src_worker.html]
[test_shouldprocess.html]
# Fennec platform does not support Java applet plugin
skip-if = toolkit == 'android' #investigate in bug 1250814
[test_child-src_worker_data.html]
[test_child-src_worker-redirect.html]
[test_child-src_iframe.html]
[test_meta_element.html]
[test_meta_header_dual.html]
[test_docwrite_meta.html]
[test_multipartchannel.html]
[test_fontloader.html]
[test_block_all_mixed_content.html]
tags = mcb
[test_block_all_mixed_content_frame_navigation.html]
tags = mcb
[test_form_action_blocks_url.html]
[test_meta_whitespace_skipping.html]
[test_iframe_sandbox.html]
[test_iframe_sandbox_top_1.html]
[test_sandbox.html]
[test_ping.html]
[test_require_sri_meta.html]
[test_sendbeacon.html]
[test_upgrade_insecure_docwrite_iframe.html]
[test_bug1242019.html]
[test_bug1312272.html]
[test_strict_dynamic.html]
[test_strict_dynamic_parser_inserted.html]
[test_strict_dynamic_default_src.html]
[test_upgrade_insecure_navigation.html]
[test_iframe_sandbox_srcdoc.html]
[test_iframe_srcdoc.html]
[test_sandbox_allow_scripts.html]
support-files =
  file_sandbox_allow_scripts.html
  file_sandbox_allow_scripts.html^headers^
[test_ignore_xfo.html]
[test_image_nonce.html]
[test_punycode_host_src.html]
[test_websocket_self.html]
skip-if = toolkit == 'android'
[test_worker_src.html]
support-files =
  file_worker_src_worker_governs.html
  file_worker_src_child_governs.html
  file_worker_src_script_governs.html
  file_worker_src.js
  file_spawn_worker.js
  file_spawn_shared_worker.js
  file_spawn_service_worker.js
[test_frame_src.html]
support-files =
  file_frame_src_frame_governs.html
  file_frame_src_child_governs.html
  file_frame_src.js
  file_frame_src_inner.html