tor-browser

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

commit c6c4149ce299c15409d7281c85d6fdaedb9b26c4
parent d285de2a7123c30bcb56ec7626787c3a3ae6524a
Author: Sandor Molnar <smolnar@mozilla.com>
Date:   Tue, 18 Nov 2025 19:08:32 +0200

Revert "Bug 2000647 - Fix format and linter warnings for dom/base/test/mochitest.toml. r=dom-core,smaug" for causing dt failures

This reverts commit e6973e59747dd61e43696c15add39a07093cfa0d.

Diffstat:
Mdom/base/test/mochitest.toml | 232++++++++++++++++++++++++++++++++++---------------------------------------------
1 file changed, 99 insertions(+), 133 deletions(-)

diff --git a/dom/base/test/mochitest.toml b/dom/base/test/mochitest.toml @@ -210,22 +210,18 @@ support-files = [ "green.png", "slow.sjs", ] -skip-if = [ - "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && debug && verify-standalone", -] +skip-if = ["os == 'linux' && os_version == '24.04' && arch == 'x86_64' && debug && verify-standalone"] ["test_EventSource_redirects.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_Image_constructor.html"] ["test_NodeIterator_basics_filters.xhtml"] -skip-if = [ - "xorigin", # JavaScript error: http://mochi.test:8888/tests/SimpleTest/SimpleTest.js, line 76: DataCloneError: The object could not be cloned. -] +skip-if = ["xorigin"] # JavaScript error: http://mochi.test:8888/tests/SimpleTest/SimpleTest.js, line 76: DataCloneError: The object could not be cloned. ["test_NodeIterator_mutations_1.xhtml"] @@ -235,26 +231,26 @@ skip-if = [ ["test_anchor_area_referrer.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_anchor_area_referrer_changing.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_anchor_area_referrer_invalid.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_anchor_area_referrer_rel.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_anonymousContent_api.html"] @@ -264,7 +260,7 @@ skip-if = [ ["test_anonymousContent_canvas.html"] skip-if = [ "headless", # Bug 1405867 - "os == 'android' && arch == 'x86_64' && debug", # Bug 1908272 + "os == 'android' && processor == 'x86_64' && debug", # Bug 1908272 ] ["test_anonymousContent_insert.html"] @@ -279,8 +275,8 @@ skip-if = [ ["test_base.xhtml"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug5141.html"] @@ -292,9 +288,7 @@ skip-if = [ ["test_bug51034.html"] ["test_bug166235.html"] -skip-if = [ - "headless", # headless != clipboard -] +skip-if = ["headless"] # headless != clipboard ["test_bug199959.html"] @@ -328,8 +322,8 @@ skip-if = [ ["test_bug326337.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug331959.html"] @@ -346,16 +340,16 @@ skip-if = [ ["test_bug338583.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug343596.html"] ["test_bug345339.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug346485.html"] @@ -403,9 +397,9 @@ support-files = ["file_bug357450.js"] ["test_bug375314-2.html"] skip-if = [ - "http2", - "http3", "xorigin", # Hangs, [Exception... "Component returned failure code: 0xc1f30100 (NS_ERROR_FACTORY_EXISTS) [nsIComponentRegistrar.registerFactory]" nsresult: "0xc1f30100 (NS_ERROR_FACTORY_EXISTS)" location: "JS frame :: createChromeScript :: createChromeScript :: line 40" data: no] + "http3", + "http2", ] ["test_bug375314.html"] @@ -437,8 +431,8 @@ support-files = ["test_bug380418.html^headers^"] ["test_bug398243.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug402150.html"] @@ -482,28 +476,28 @@ support-files = ["test_bug402150.html^headers^"] ["test_bug422537.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug424212.html"] ["test_bug426308.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug426646.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug428847.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug431082.html"] @@ -518,8 +512,8 @@ skip-if = [ ["test_bug435425.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug444322.html"] @@ -548,8 +542,8 @@ support-files = ["bug444546.sjs"] ["test_bug455629.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug456262.html"] @@ -562,16 +556,16 @@ skip-if = [ ["test_bug461735.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug465767.html"] ["test_bug466080.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug466409.html"] @@ -588,8 +582,8 @@ skip-if = [ ["test_bug475156.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug482935.html"] @@ -618,16 +612,14 @@ support-files = ["file_bug503473-frame.sjs"] ["test_bug503481b.html"] ["test_bug513194.html"] -skip-if = [ - "verify-standalone", -] +skip-if = ["verify-standalone"] ["test_bug514487.html"] ["test_bug515401.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug518104.html"] @@ -668,9 +660,7 @@ support-files = ["file_bug518104.js"] ["test_bug567350.html"] ["test_bug574596.html"] -skip-if = [ - "os == 'android'", -] +skip-if = ["os == 'android'"] ["test_bug578096.html"] @@ -682,15 +672,15 @@ skip-if = [ ["test_bug590812.html"] skip-if = [ - "http2", "http3", - "os == 'win' && os_version == '11.26100' && arch == 'x86_64'", # Bug 1936460 + "http2", + "os == 'win' && os_version == '11.26100' && processor == 'x86_64'", # Bug 1936460 ] ["test_bug590870.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug592366.html"] @@ -701,16 +691,16 @@ skip-if = [ ["test_bug599295.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug599588.html"] ["test_bug601803.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug602838.html"] @@ -743,8 +733,8 @@ support-files = ["!/gfx/layers/apz/test/mochitest/apz_test_utils.js"] ["test_bug638112.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug647518.html"] @@ -789,14 +779,14 @@ skip-if = [ ["test_bug696301-1.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug696301-2.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug698381.html"] @@ -807,28 +797,28 @@ skip-if = [ ["test_bug704320-1.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug704320-2.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug704320_policyset.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug704320_policyset2.html"] ["test_bug704320_preload.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug707142.html"] @@ -883,8 +873,8 @@ skip-if = [ ["test_bug819051.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug820909.html"] @@ -909,8 +899,8 @@ skip-if = [ ["test_bug907892.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug913761.html"] @@ -923,8 +913,8 @@ skip-if = [ ["test_bug976673.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug982153.html"] @@ -933,8 +923,8 @@ skip-if = [ ["test_bug1022229.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug1025933.html"] @@ -956,20 +946,16 @@ support-files = ["test_bug1037687_subframe.html"] ["test_bug1091883.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug1100912.html"] support-files = ["file_bug1100912.html"] -skip-if = [ - "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11'", -] +skip-if = ["os == 'linux' && os_version == '24.04' && processor == 'x86_64' && display == 'x11'"] ["test_bug1101364.html"] -skip-if = [ - "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11'", -] +skip-if = ["os == 'linux' && os_version == '24.04' && processor == 'x86_64' && display == 'x11'"] ["test_bug1118689.html"] @@ -977,14 +963,14 @@ skip-if = [ ["test_bug1163743.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug1165501.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug1187157.html"] @@ -993,14 +979,14 @@ skip-if = [ ["test_bug1222633.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug1222633_link_update.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug1238440.html"] @@ -1011,8 +997,8 @@ skip-if = [ ["test_bug1268962.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug1274806.html"] @@ -1041,16 +1027,14 @@ skip-if = [ ["test_bug1433073.html"] skip-if = [ - "headless", "os == 'android'", + "headless", ] ["test_bug1472427.html"] ["test_bug1499169.html"] -skip-if = [ - "os == 'android'", # Timeouts on android due to page closing issues with embedded pdf -] +skip-if = ["os == 'android'"] # Timeouts on android due to page closing issues with embedded pdf ["test_bug1576154.html"] @@ -1065,8 +1049,8 @@ support-files = [ "iframe2_bug1640766.html", ] skip-if = [ - "http2", "http3", + "http2", ] ["test_bug1648887.html"] @@ -1086,8 +1070,8 @@ support-files = ["bug1739957.sjs"] ["test_change_policy.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_clearTimeoutIntervalNoArg.html"] @@ -1110,8 +1094,8 @@ skip-if = [ ["test_current_inner_window.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_custom_element.html"] @@ -1123,9 +1107,7 @@ skip-if = [ ["test_data_uri.html"] ["test_delazification_strategy.html"] -skip-if = [ - "ccov", -] +skip-if = ["ccov"] support-files = [ "file_delazification_strategy.html", "file_delazification_strategy.js", @@ -1144,8 +1126,8 @@ support-files = [ ["test_document_wireframe.html"] skip-if = [ "!sessionHistoryInParent", - "http2", "http3", + "http2", ] ["test_domparser_null_char.html"] @@ -1153,9 +1135,7 @@ skip-if = [ ["test_domparsing.html"] ["test_domwindowutils.html"] -skip-if = [ - "os == 'android'", # Bug 1525959 -] +skip-if = ["os == 'android'"] # Bug 1525959 ["test_drag_drop_shadow_crossing_selection.html"] @@ -1167,30 +1147,30 @@ skip-if = [ ["test_embed_xorigin_document.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_eventsource_event_listener_leaks.html"] ["test_eventsourceservice_basic.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_eventsourceservice_reconnect_error.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_eventsourceservice_status_error.html"] ["test_eventsourceservice_worker.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_explicit_user_agent.html"] @@ -1209,14 +1189,14 @@ support-files = ["file_focus_design_mode_inner.html"] ["test_focus_display_none_xorigin_iframe.html"] support-files = ["file_focus_display_none_xorigin_iframe_inner.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_focus_keyboard_event.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_focus_radio.html"] @@ -1257,20 +1237,20 @@ skip-if = [ ["test_iframe_referrer.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_iframe_referrer_changing.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_iframe_referrer_invalid.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_innersize_scrollport.html"] @@ -1285,48 +1265,46 @@ skip-if = [ ["test_intersectionobservers.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_link_prefetch.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_link_preload.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_link_stylesheet.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_location_href_unknown_protocol.html"] support-files = ["file_location_href_unknown_protocol.html"] ["test_lock_orientation_after_fullscreen.html"] -run-if = [ - "os == 'android'", # Only run on Android. -] +run-if = ["os == 'android'"] # Only run on Android. ["test_lock_orientation_with_pending_fullscreen.html"] skip-if = [ - "headless", + "os == 'mac' && os_version == '10.15' && processor == 'x86_64'", "os == 'linux'", - "os == 'mac' && os_version == '10.15' && arch == 'x86_64'", - "os == 'mac' && os_version == '14.70' && arch == 'x86_64'", # Bug 1929448 + "headless", + "os == 'mac' && os_version == '14.70' && processor == 'x86_64'", # Bug 1929448 ] ["test_meta_refresh_referrer.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_mozMatchesSelector.html"] @@ -1341,8 +1319,8 @@ skip-if = [ ["test_navigator_cookieEnabled.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_navigator_hardwareConcurrency.html"] @@ -1354,9 +1332,7 @@ skip-if = [ ["test_nodelist_holes.html"] ["test_omt_eager_baseline.html"] -skip-if = [ - "ccov", -] +skip-if = ["ccov"] support-files = [ "file_omt_eager_baseline.html", "file_omt_eager_baseline.js" @@ -1368,9 +1344,7 @@ tags = "openwindow" ["test_open_null_features.html"] ["test_pasting_svg_image.html"] -skip-if = [ - "headless", # Bug 1669923. -] +skip-if = ["headless"] # Bug 1669923. ["test_pdf_print.html"] skip-if = [ @@ -1382,14 +1356,12 @@ skip-if = [ ["test_postMessage_originAttributes.html"] support-files = ["file_receiveMessage.html"] -skip-if = [ - "true", # Uses mismatched OriginAttributes for iframe (bug 1616353) -] +skip-if = ["true"] # Uses mismatched OriginAttributes for iframe (bug 1616353) ["test_postMessage_solidus.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_postMessages_broadcastChannel.html"] @@ -1398,8 +1370,8 @@ skip-if = [ ["test_postMessages_window.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_postMessages_workers.html"] @@ -1407,9 +1379,7 @@ skip-if = [ ["test_processing_instruction_update_stylesheet.xhtml"] ["test_progress_events_for_gzip_data.html"] -skip-if = [ - "tsan", # Bug 1621323 -] +skip-if = ["tsan"] # Bug 1621323 ["test_pushState_structuredclone.html"] scheme = "https" @@ -1432,9 +1402,7 @@ support-files = ["file_sandbox_and_document_uri.html"] ["test_setInterval_from_start.html"] ["test_setInterval_uncatchable_exception.html"] -skip-if = [ - "debug == false", -] +skip-if = ["debug == false"] ["test_setTimeoutWith0.html"] @@ -1446,14 +1414,14 @@ skip-if = [ ["test_shared_compartment1.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_shared_compartment2.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_structuredclone_backref.html"] @@ -1467,9 +1435,9 @@ support-files = ["file_suppressed_events_and_scrolling.html"] ["test_suppressed_events_nested_iframe.html"] skip-if = [ - "http2", - "http3", "os == 'android'", + "http3", + "http2", ] support-files = [ "file_suppressed_events_top_xhr.html", @@ -1482,10 +1450,10 @@ support-files = [ ["test_suppressed_microtasks.html"] skip-if = [ - "asan", "debug", - "os == 'android'", # The test needs to run reasonably fast. + "asan", "tsan", + "os == 'android'", # The test needs to run reasonably fast. ] ["test_text-fragments-create-text-directive-no-reveal.html"] @@ -1513,9 +1481,7 @@ support-files = ["file_toScreenRect.html"] ["test_treewalker_nextsibling.xml"] ["test_user_select.html"] -skip-if = [ - "os == 'android'", # Bug 1791049 -] +skip-if = ["os == 'android'"] # Bug 1791049 ["test_viewport_metrics_on_landscape_content.html"] support-files = ["file_viewport_metrics_on_landscape_content.html"] @@ -1532,9 +1498,9 @@ support-files = ["file_viewport_metrics_on_landscape_content.html"] ["test_warning_for_blocked_cross_site_request.html"] skip-if = [ - "debug && verify-standalone", "http2", "http3", + "debug && verify-standalone", ] ["test_window_close.html"] @@ -1545,8 +1511,8 @@ skip-if = [ ["test_window_cross_origin_props.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_window_define_nonconfigurable.html"] @@ -1568,8 +1534,8 @@ support-files = ["file_window_focus_by_close_and_open.html"] ["test_window_named_frame_enumeration.html"] skip-if = [ - "http2", "http3", + "http2", ] ["test_window_own_props.html"] @@ -1580,16 +1546,16 @@ skip-if = [ ["test_x-frame-options.html"] skip-if = [ - "http2", - "http3", "os == 'android' && debug", "xorigin", # JavaScript error: http://mochi.test:8888/tests/dom/base/test/test_x-frame-options.html, line 48: TypeError: can't access property "textContent", this.content.document.getElementById(...) is null, JavaScript error: resource://gre/modules/ProcessSelector.jsm, line 56: TypeError: can't access property "tabCount", process is null + "http3", + "http2", ] ["test_youtube_flash_embed.html"] skip-if = [ - "http2", "http3", + "http2", "os == 'linux' && debug", # Bug 1870499 and other bugs with crashes after this test start ] # Please keep alphabetical order.