tor-browser

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

mochitest.toml (4107B)


      1 [DEFAULT]
      2 scheme = "https"
      3 support-files = [
      4  "MockAlertsService.js",
      5  "NotificationTest.js",
      6 ]
      7 prefs = [
      8  "dom.webnotifications.actions.enabled=true",
      9 ]
     10 
     11 ["test_notification_basics.html"]
     12 skip-if = [
     13  "os == 'android'", # Bug 1948752, Notification.onshow/close are broken on Android
     14  "xorigin", # Bug 1792790
     15 ]
     16 
     17 ["test_notification_browser_failure.html"]
     18 support-files = ["notification_empty_sw.js"]
     19 skip-if = [
     20  "os == 'android'", # Bug 1948752, Notification.onshow/close are broken on Android
     21  "xorigin", # Bug 1792790
     22 ]
     23 
     24 ["test_notification_cleanup.html"]
     25 support-files = ["notification_empty_sw.js"]
     26 skip-if = [
     27  "os == 'android'", # Bug 1948752, Notification.onshow/close are broken on Android
     28  "xorigin", # Bug 1792790
     29 ]
     30 
     31 ["test_notification_crossorigin_iframe.html"]
     32 support-files = ["blank.html"]
     33 
     34 ["test_notification_crossorigin_iframe_nested_glean.html"]
     35 support-files = ["blank.html"]
     36 
     37 ["test_notification_insecure_context.html"]
     38 # This test needs to be run on HTTP (not HTTPS).
     39 skip-if = [
     40  "http2",
     41  "http3",
     42 ]
     43 scheme = "http"
     44 
     45 ["test_notification_permissions.html"]
     46 support-files = ["blank.html"]
     47 
     48 ["test_notification_serviceworker_constructor_error.html"]
     49 support-files = ["notification_constructor_error.js"]
     50 
     51 ["test_notification_serviceworker_get.html"]
     52 skip-if = [
     53  "xorigin", # Bug 1792790
     54 ]
     55 support-files = [
     56  "notification_get_sw.js",
     57  "notification/register.html",
     58 ]
     59 
     60 ["test_notification_serviceworker_openWindow.html"]
     61 skip-if = [
     62  "http2",
     63  "http3",
     64  "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
     65 ]
     66 support-files = [
     67  "notification_openWindow.serviceworker.js",
     68  "file_notification_openWindow.html",
     69  "!/dom/serviceworkers/test/utils.js",
     70 ]
     71 tags = "openwindow"
     72 
     73 ["test_notification_serviceworker_openWindow_nested.html"]
     74 skip-if = [
     75  "condprof", # timed out
     76  "http2",
     77  "http3",
     78  "xorigin", # Bug 1792790
     79 ]
     80 support-files = [
     81  "openWindow.serviceworker.js",
     82  "open_window/client.sjs",
     83  "redirect.sjs",
     84  "!/dom/serviceworkers/test/utils.js",
     85 ]
     86 tags = "openwindow"
     87 
     88 ["test_notification_serviceworker_show.html"]
     89 skip-if = [
     90  "xorigin", # Bug 1792790
     91 ]
     92 support-files = [
     93  "notification_show_sw.js",
     94 ]
     95 
     96 ["test_notification_swr_worker_show.html"]
     97 skip-if = [
     98  "xorigin", # Bug 1792790
     99 ]
    100 support-files = [
    101  "notification_empty_sw.js",
    102  "notification_show_dedicated.js",
    103 ]
    104 
    105 ["test_notification_tag.html"]
    106 skip-if = [
    107  "http2",
    108  "http3",
    109 ]
    110 support-files = ["create_notification.html"]
    111 
    112 ["test_notification_worker.html"]
    113 skip-if = [
    114  "os == 'android'", # Bug 1948752, Notification.onshow/close are broken on Android
    115 ]
    116 support-files = ["notification_worker.js"]
    117 
    118 ["test_notification_worker_child.html"]
    119 skip-if = [
    120  "os == 'android'", # Bug 1948752, Notification.onshow/close are broken on Android
    121 ]
    122 support-files = [
    123  "notification_worker_child-child.js",
    124  "notification_worker_child-parent.js",
    125 ]
    126 
    127 ["test_notification_worker_click.html"]
    128 skip-if = [
    129  "os == 'android'", # Bug 1948752, Notification.onshow/close are broken on Android
    130 ]
    131 
    132 ["test_notification_worker_permission.html"]
    133 support-files = ["notification_permission_worker.js"]
    134 
    135 ["test_notificationclick.html"]
    136 skip-if = [
    137  "xorigin", # Bug 1792790
    138 ]
    139 support-files = [
    140  "notificationclick.html",
    141  "notificationclick.serviceworker.js",
    142  "!/dom/serviceworkers/test/utils.js",
    143 ]
    144 
    145 ["test_notificationclick_focus.html"]
    146 skip-if = [
    147  "xorigin", # Bug 1792790
    148 ]
    149 support-files = [
    150  "notificationclick_focus.html",
    151  "notificationclick_focus.serviceworker.js",
    152  "!/dom/serviceworkers/test/utils.js",
    153 ]
    154 
    155 ["test_notificationclick_otherwindow.html"]
    156 skip-if = [
    157  "xorigin", # Bug 1792790
    158 ]
    159 support-files = [
    160  "notificationclick-otherwindow.html",
    161  "notificationclick.serviceworker.js",
    162  "!/dom/serviceworkers/test/utils.js",
    163 ]
    164 
    165 ["test_notificationclose.html"]
    166 skip-if = [
    167  "xorigin", # Bug 1792790
    168 ]
    169 support-files = [
    170  "blank.html",
    171  "notificationclose.html",
    172  "notificationclose.serviceworker.js",
    173  "!/dom/serviceworkers/test/utils.js",
    174 ]