tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

mochitest.toml (4889B)


      1 [DEFAULT]
      2 support-files = [
      3  "method.sjs",
      4  "partial_content.sjs",
      5  "rel_preconnect.sjs",
      6  "set_cookie_xhr.sjs",
      7  "reset_cookie_xhr.sjs",
      8  "web_packaged_app.sjs",
      9  "file_documentcookie_maxage_chromescript.js",
     10  "file_loadinfo_redirectchain.sjs",
     11  "file_1331680.js",
     12  "file_1503201.sjs",
     13  "file_iframe_allow_scripts.html",
     14  "file_iframe_allow_same_origin.html",
     15  "redirect_idn.html^headers^",
     16  "redirect_idn.html",
     17  "empty.html",
     18  "redirect.sjs",
     19  "redirect_to.sjs",
     20  "origin_header.sjs",
     21  "origin_header_form_post.html",
     22  "origin_header_form_post_xorigin.html",
     23  "subResources.sjs",
     24  "beltzner.jpg",
     25  "beltzner.jpg^headers^",
     26  "file_chromecommon.js",
     27  "file_domain_hierarchy_inner.html",
     28  "file_domain_hierarchy_inner.html^headers^",
     29  "file_domain_hierarchy_inner_inner.html",
     30  "file_domain_hierarchy_inner_inner.html^headers^",
     31  "file_domain_hierarchy_inner_inner_inner.html",
     32  "file_domain_hierarchy_inner_inner_inner.html^headers^",
     33  "file_domain_inner.html",
     34  "file_domain_inner.html^headers^",
     35  "file_domain_inner_inner.html",
     36  "file_domain_inner_inner.html^headers^",
     37  "file_image_inner.html",
     38  "file_image_inner.html^headers^",
     39  "file_image_inner_inner.html",
     40  "file_image_inner_inner.html^headers^",
     41  "file_lnk.lnk",
     42  "file_loadflags_inner.html",
     43  "file_loadflags_inner.html^headers^",
     44  "file_localhost_inner.html",
     45  "file_localhost_inner.html^headers^",
     46  "file_loopback_inner.html",
     47  "file_loopback_inner.html^headers^",
     48  "file_subdomain_inner.html",
     49  "file_subdomain_inner.html^headers^",
     50  "file_testcommon.js",
     51  "file_testloadflags.js",
     52  "file_testloadflags_chromescript.js",
     53  "image1.png",
     54  "image1.png^headers^",
     55  "image2.png",
     56  "image2.png^headers^",
     57  "test1.css",
     58  "test1.css^headers^",
     59  "test2.css",
     60  "test2.css^headers^",
     61 ]
     62 prefs = [ "javascript.options.large_arraybuffers=true" ]
     63 
     64 ["test_1331680.html"]
     65 skip-if = [
     66  "xorigin",
     67 ]
     68 
     69 ["test_1331680_iframe.html"]
     70 skip-if = [
     71  "xorigin",
     72 ]
     73 
     74 ["test_1331680_xhr.html"]
     75 skip-if = [
     76  "xorigin",
     77 ]
     78 
     79 ["test_1396395.html"]
     80 skip-if = [
     81  "http2",
     82  "http3",
     83 ]
     84 
     85 # test_142* fail with xorigin if 3pc are rejected by default (Bug 1873998).
     86 
     87 ["test_1421324.html"]
     88 skip-if = [
     89  "os == 'android' && os_version == '14' && arch == 'x86_64'", # Bug 1981321
     90  "xorigin",
     91 ]
     92 
     93 ["test_1425031.html"]
     94 skip-if = [
     95  "xorigin",
     96 ]
     97 
     98 ["test_1502055.html"]
     99 support-files = [
    100  "sw_1502055.js",
    101  "file_1502055.sjs",
    102  "iframe_1502055.html",
    103 ]
    104 
    105 ["test_1503201.html"]
    106 
    107 ["test_accept_header.html"]
    108 support-files = ["test_accept_header.sjs", "test_import_json_module.mjs"]
    109 
    110 ["test_anchor_query_encoding.html"]
    111 
    112 ["test_arraybufferinputstream.html"]
    113 
    114 ["test_arraybufferinputstream_large.html"]
    115 run-if = [
    116  "arch != 'x86'", # Large ArrayBuffers not supported on 32-bit.
    117 ]
    118 skip-if = [
    119  "asan",
    120  "tsan", # TSan shadow memory causes OOMs.
    121 ]
    122 
    123 ["test_different_domain_in_hierarchy.html"]
    124 skip-if = [
    125  "http2",
    126  "http3",
    127 ]
    128 
    129 ["test_differentdomain.html"]
    130 skip-if = [
    131  "http2",
    132  "http3",
    133 ]
    134 
    135 ["test_documentcookies_maxage.html"]
    136 # Bug 1617611: Fix all the tests broken by "cookies SameSite=lax by default"
    137 skip-if = [
    138  "xorigin",
    139 ]
    140 
    141 ["test_fetch_lnk.html"]
    142 
    143 ["test_http_auth_cache.html"]
    144 support-files = ["authenticate.sjs", "../../../toolkit/components/prompts/test/prompt_common.js", "../../../toolkit/components/prompts/test/chromeScript.js"]
    145 skip-if = [
    146  "os == 'android'", # bug 1267092: auth prompt helpers don't work on android
    147 ]
    148 
    149 ["test_idn_redirect.html"]
    150 skip-if = [
    151  "http2",
    152  "http3",
    153 ]
    154 
    155 ["test_image.html"]
    156 skip-if = [
    157  "http2",
    158  "http3",
    159 ]
    160 
    161 ["test_loadflags.html"]
    162 # Bug 1617611: Fix all the tests broken by "cookies SameSite=lax by default"
    163 skip-if = [
    164  "http2",
    165  "http3",
    166  "xorigin",
    167 ]
    168 
    169 ["test_loadinfo_redirectchain.html"]
    170 fail-if = [
    171  "xorigin",
    172 ]
    173 skip-if = [
    174  "http2",
    175  "http3",
    176 ]
    177 
    178 ["test_origin_header.html"]
    179 skip-if = [
    180  "http2",
    181  "http3",
    182 ]
    183 
    184 ["test_partially_cached_content.html"]
    185 
    186 ["test_pdf.html"]
    187 support-files = ["file_pdfjs_test.pdf", "file_pdfjs_test.pdf^headers^"]
    188 
    189 # test_1331680* fail with xorigin if 3pc are rejected by default (Bug 1873998).
    190 
    191 ["test_redirect_ref.html"]
    192 skip-if = [
    193  "http2",
    194  "http3",
    195 ]
    196 
    197 ["test_rel_preconnect.html"]
    198 
    199 ["test_same_base_domain.html"]
    200 skip-if = [
    201  "http2",
    202  "http3",
    203 ]
    204 
    205 ["test_same_base_domain_2.html"]
    206 skip-if = [
    207  "http2",
    208  "http3",
    209 ]
    210 
    211 ["test_same_base_domain_3.html"]
    212 skip-if = [
    213  "http2",
    214  "http3",
    215 ]
    216 
    217 ["test_same_base_domain_4.html"]
    218 skip-if = [
    219  "http2",
    220  "http3",
    221 ]
    222 
    223 ["test_same_base_domain_5.html"]
    224 skip-if = [
    225  "http2",
    226  "http3",
    227 ]
    228 
    229 ["test_same_base_domain_6.html"]
    230 skip-if = [
    231  "http2",
    232  "http3",
    233 ]
    234 
    235 ["test_samedomain.html"]
    236 skip-if = [
    237  "http2",
    238  "http3",
    239 ]
    240 
    241 ["test_uri_scheme.html"]
    242 
    243 ["test_url_perf.html"]
    244 # test to check the performance of URL parsing.
    245 # No need to run in CI.
    246 skip-if = [
    247  "true",
    248 ]
    249 
    250 ["test_viewsource_unlinkable.html"]
    251 
    252 ["test_xhr_method_case.html"]
    253 skip-if = [
    254  "http2",
    255 ]