summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/mochitest.ini
blob: 552fdf90f27b22a0c20686b3441776345b07942f (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
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
[DEFAULT]
support-files =
  file_base_uri_server.sjs
  file_blob_data_schemes.html
  file_blob_uri_blocks_modals.html
  file_blob_uri_blocks_modals.html^headers^
  file_blob_top_nav_block_modals.html
  file_blob_top_nav_block_modals.html^headers^
  file_connect-src.html
  file_connect-src-fetch.html
  file_CSP.css
  file_CSP.sjs
  file_dummy_pixel.png
  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_frameancestors_userpass.html
  file_frameancestors_userpass_frame_a.html
  file_frameancestors_userpass_frame_b.html
  file_frameancestors_userpass_frame_c.html
  file_frameancestors_userpass_frame_c.html^headers^
  file_frameancestors_userpass_frame_d.html
  file_frameancestors_userpass_frame_d.html^headers^
  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_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_bug1452037.html
  file_bug1505412.sjs
  file_bug1505412_reporter.sjs
  file_bug1505412_frame.html
  file_bug1505412_frame.html^headers^
  file_policyuri_regression_from_multipolicy.html
  file_policyuri_regression_from_multipolicy.html^headers^
  file_policyuri_regression_from_multipolicy_policy
  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_empty_directive.html
  file_empty_directive.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
  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_cors.html
  file_upgrade_insecure_cors_server.sjs
  file_upgrade_insecure_loopback.html
  file_upgrade_insecure_loopback_form.html
  file_upgrade_insecure_loopback_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_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_marquee.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_upgrade_insecure_navigation.sjs
  file_punycode_host_src.sjs
  file_punycode_host_src.js
  file_iframe_srcdoc.sjs
  file_iframe_sandbox_srcdoc.html
  file_iframe_sandbox_srcdoc.html^headers^
  file_websocket_self.html
  file_websocket_csp_upgrade.html
  file_websocket_explicit.html
  file_websocket_self_wsh.py
  file_win_open_blocked.html
  file_image_nonce.html
  file_image_nonce.html^headers^
  file_ignore_xfo.html
  file_ignore_xfo.html^headers^
  file_ro_ignore_xfo.html
  file_ro_ignore_xfo.html^headers^
  file_no_log_ignore_xfo.html
  file_no_log_ignore_xfo.html^headers^
  file_data_csp_inheritance.html
  file_data_csp_merge.html
  file_data_doc_ignore_meta_csp.html
  file_report_font_cache-1.html
  file_report_font_cache-2.html
  file_report_font_cache-2.html^headers^
  Ahem.ttf
  file_independent_iframe_csp.html
prefs =
  security.mixed_content.upgrade_display_content=false
  javascript.options.experimental.shadow_realms=true

[test_base-uri.html]
[test_blob_data_schemes.html]
[test_blob_uri_blocks_modals.html]
skip-if = xorigin && os == "linux" && (asan || tsan) # alert should be blocked by CSP - got false, expected true
[test_bug1777572.html]
support-files = file_bug1777572.html
skip-if = toolkit == 'android' # This unusual window.close/open test times out on Android.
[test_connect-src.html]
[test_CSP.html]
[test_bug1452037.html]
[test_allow_https_schemes.html]
[test_bug663567.html]
skip-if =
  fission && xorigin && debug && os == "win"  # Bug 1716406 - New fission platform triage
[test_bug802872.html]
[test_bug885433.html]
[test_bug888172.html]
[test_bug1505412.html]
skip-if = !debug
[test_evalscript.html]
[test_evalscript_blocked_by_strict_dynamic.html]
[test_evalscript_allowed_by_strict_dynamic.html]
[test_frameancestors.html]
skip-if = xorigin # JavaScript error: http://mochi.xorigin-test:8888/tests/SimpleTest/TestRunner.js, line 157: SecurityError: Permission denied to access property "wrappedJSObject" on cross-origin object
[test_frameancestors_userpass.html]
[test_inlinescript.html]
[test_inlinestyle.html]
[test_invalid_source_expression.html]
[test_bug836922_npolicies.html]
skip-if = verify
[test_bug886164.html]
[test_redirects.html]
[test_bug910139.html]
skip-if = verify
[test_bug909029.html]
[test_bug1229639.html]
[test_bug1579094.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]
skip-if =
  fission && xorigin && debug  # Bug 1716406 - New fission platform triage
[test_scheme_relative_sources.html]
[test_ignore_unsafe_inline.html]
skip-if = xorigin # JavaScript error: http://mochi.xorigin-test:8888/tests/SimpleTest/TestRunner.js, line 157: SecurityError: Permission denied to access property "wrappedJSObject" on cross-origin object, [Child 3789, Main Thread] WARNING: NS_ENSURE_TRUE(request) failed: file /builds/worker/checkouts/gecko/netwerk/base/nsLoadGroup.cpp, line 591
[test_self_none_as_hostname_confusion.html]
[test_empty_directive.html]
[test_path_matching.html]
[test_path_matching_redirect.html]
[test_report_uri_missing_in_report_only_header.html]
[test_report.html]
fail-if = xorigin
[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_dual_header.html]
[test_win_open_blocked.html]
[test_upgrade_insecure.html]
skip-if =
  os == 'linux' && bits == 64 # Bug 1620516
  os == "android" # Bug 1777028
[test_upgrade_insecure_reporting.html]
[test_upgrade_insecure_cors.html]
[test_upgrade_insecure_loopback.html]
[test_report_for_import.html]
fail-if = xorigin
[test_blocked_uri_in_reports.html]
[test_service_worker.html]
[test_child-src_worker.html]
[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]
skip-if =
  fission && xorigin && debug && (os == "win" || os == "linux")  # Bug 1716406 - New fission platform triage
[test_iframe_sandbox_top_1.html]
[test_sandbox.html]
skip-if = true # Bug 1657934
[test_ping.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_punycode_host_src.html]
[test_iframe_sandbox_srcdoc.html]
skip-if =
  fission && xorigin && debug && os == "win"  # Bug 1716406 - New fission platform triage
[test_iframe_srcdoc.html]
[test_image_nonce.html]
[test_websocket_self.html]
skip-if = toolkit == 'android' # no websocket support Bug 982828
[test_websocket_localhost.html]
skip-if = toolkit == 'android' # no websocket support Bug 982828
[test_ignore_xfo.html]
skip-if = xorigin # JavaScript error: http://mochi.xorigin-test:8888/tests/SimpleTest/TestRunner.js, line 157: SecurityError: Permission denied to access property "wrappedJSObject" on cross-origin object
[test_data_csp_inheritance.html]
[test_data_csp_merge.html]
[test_report_font_cache.html]
[test_data_doc_ignore_meta_csp.html]
[test_meta_csp_self.html]
[test_uir_top_nav.html]
support-files =
  file_uir_top_nav.html
  file_uir_top_nav_dummy.html
[test_sandbox_allow_scripts.html]
support-files =
  file_sandbox_allow_scripts.html
  file_sandbox_allow_scripts.html^headers^
[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
[test_security_policy_violation_event.html]
[test_csp_worker_inheritance.html]
support-files =
  worker.sjs
  worker_helper.js
  main_csp_worker.html
  main_csp_worker.html^headers^
[test_nonce_snapshot.html]
support-files =
  file_nonce_snapshot.sjs
[test_uir_windowwatcher.html]
support-files =
  file_windowwatcher_frameA.html
  file_windowwatcher_subframeB.html
  file_windowwatcher_subframeC.html
  file_windowwatcher_subframeD.html
  file_windowwatcher_win_open.html
[test_script_template.html]
support-files =
  file_script_template.html
  file_script_template.js
[test_parent_location_js.html]
support-files =
  file_parent_location_js.html
  file_iframe_parent_location_js.html
[test_navigate_to.html]
support-files =
  file_navigate_to.sjs
  file_navigate_to_request.html
[test_independent_iframe_csp.html]
[test_xslt_inherits_csp.html]
support-files =
  file_xslt_inherits_csp.xml
  file_xslt_inherits_csp.xml^headers^
  file_xslt_inherits_csp.xsl
[test_object_inherit.html]
support-files =
  file_object_inherit.html
[test_link_rel_preload.html]
support-files =
  file_link_rel_preload.html
[test_image_document.html]
support-files =
  file_image_document_pixel.png
  file_image_document_pixel.png^headers^
[test_svg_inline_style.html]
support-files =
  file_svg_inline_style_base.html
  file_svg_inline_style_csp.html
  file_svg_inline_style_server.sjs
[test_upgrade_insecure_navigation_redirect.html]
support-files =
  file_upgrade_insecure_navigation_redirect.sjs
  file_upgrade_insecure_navigation_redirect_same_origin.html
  file_upgrade_insecure_navigation_redirect_cross_origin.html
[test_csp_style_src_empty_hash.html]
[test_csp_frame_ancestors_about_blank.html]
support-files =
  file_csp_frame_ancestors_about_blank.html
  file_csp_frame_ancestors_about_blank.html^headers^
[test_blocked_uri_redirect_frame_src.html]
support-files =
  file_blocked_uri_redirect_frame_src.html
  file_blocked_uri_redirect_frame_src.html^headers^
  file_blocked_uri_redirect_frame_src_server.sjs
[test_blocked_uri_in_violation_event_after_redirects.html]
support-files =
  file_blocked_uri_in_violation_event_after_redirects.html
  file_blocked_uri_in_violation_event_after_redirects.sjs
[test_bug1738418.html]
support-files =
  file_bug1738418_parent.html
  file_bug1738418_parent.html^headers^
  file_bug1738418_child.html