Bug 1399956 - Disable some mochitests in headless. r?jrmuizel draft
authorBrendan Dahl <brendan.dahl@gmail.com>
Wed, 27 Sep 2017 13:40:32 -0700
changeset 677771 067988b9790219c0a772a0e89c3e556497d14906
parent 677770 a2f8ed82a4195b1233399d369ae1854990ae2669
child 677772 944b851f03776350c050737202703c6d7e001bfc
push id83803
push userbmo:bdahl@mozilla.com
push dateTue, 10 Oct 2017 18:53:32 +0000
reviewersjrmuizel
bugs1399956
milestone58.0a1
Bug 1399956 - Disable some mochitests in headless. r?jrmuizel These tests will need more work and are low priority. MozReview-Commit-ID: H0J16E8FqNr
dom/base/test/mochitest.ini
dom/events/test/mochitest.ini
dom/security/test/mixedcontentblocker/mochitest.ini
layout/generic/test/mochitest.ini
toolkit/components/extensions/test/mochitest/mochitest-common.ini
--- a/dom/base/test/mochitest.ini
+++ b/dom/base/test/mochitest.ini
@@ -253,16 +253,17 @@ support-files =
 
 [test_anchor_area_referrer.html]
 [test_anchor_area_referrer_changing.html]
 [test_anchor_area_referrer_invalid.html]
 [test_anchor_area_referrer_rel.html]
 [test_anonymousContent_api.html]
 [test_anonymousContent_append_after_reflow.html]
 [test_anonymousContent_canvas.html]
+skip-if = headless # Bug 1405867
 [test_anonymousContent_insert.html]
 [test_anonymousContent_manipulate_content.html]
 [test_anonymousContent_style_csp.html]
 [test_appname_override.html]
 [test_async_setTimeout_stack.html]
 [test_async_setTimeout_stack_across_globals.html]
 [test_audioWindowUtils.html]
 [test_audioNotification.html]
@@ -301,17 +302,17 @@ skip-if = toolkit == 'android'
 [test_bug311681.xml]
 [test_bug313646.html]
 [test_bug320799.html]
 [test_bug322317.html]
 [test_bug326337.html]
 [test_bug330925.xhtml]
 [test_bug331959.html]
 [test_bug333064.html]
-skip-if = toolkit == 'android'
+skip-if = toolkit == 'android' || headless # Headless: Bug 1405868
 [test_bug333198.html]
 [test_bug333673.html]
 [test_bug337631.html]
 [test_bug338541.xhtml]
 [test_bug338583.html]
 skip-if = toolkit == 'android'
 [test_bug338679.html]
 [test_bug339494.html]
--- a/dom/events/test/mochitest.ini
+++ b/dom/events/test/mochitest.ini
@@ -170,16 +170,17 @@ skip-if = toolkit == 'android' #CRASH_DU
 [test_legacy_event.html]
 [test_messageEvent.html]
 [test_messageEvent_init.html]
 [test_moz_mouse_pixel_scroll_event.html]
 [test_offsetxy.html]
 [test_onerror_handler_args.html]
 [test_passive_listeners.html]
 [test_paste_image.html]
+skip-if = headless # Bug 1405869
 [test_wheel_default_action.html]
 [test_bug687787.html]
 [test_bug1305458.html]
 [test_bug1298970.html]
 [test_bug1304044.html]
 [test_bug1332699.html]
 [test_bug1339758.html]
 [test_bug1369072.html]
--- a/dom/security/test/mixedcontentblocker/mochitest.ini
+++ b/dom/security/test/mixedcontentblocker/mochitest.ini
@@ -13,11 +13,11 @@ support-files =
   file_main_bug803225_websocket_wsh.py
   file_server.sjs
   !/dom/media/test/320x240.ogv
   !/image/test/mochitest/blue.png
 
 [test_main.html]
 skip-if = toolkit == 'android' #TIMED_OUT
 [test_bug803225.html]
-skip-if = toolkit == 'android' || (os=='linux' && bits==32) #Android: TIMED_OUT; Linux32:bug 1324870
+skip-if = toolkit == 'android' || (os=='linux' && bits==32) || headless #Android: TIMED_OUT; Linux32:bug 1324870; Headless:bug 1405870
 [test_frameNavigation.html]
 skip-if = toolkit == 'android' #TIMED_OUT
--- a/layout/generic/test/mochitest.ini
+++ b/layout/generic/test/mochitest.ini
@@ -119,17 +119,17 @@ skip-if = e10s
 skip-if = e10s
 [test_plugin_clipping_transformed.xhtml]
 skip-if = e10s
 [test_plugin_clipping_table.xhtml]
 skip-if = e10s
 [test_plugin_focus.html]
 skip-if  = os == 'win' # bug 1207918
 [test_plugin_mouse_coords.html]
-skip-if = toolkit == 'android'
+skip-if = toolkit == 'android' || headless # Headless:Bug 1405871
 [test_plugin_position.xhtml]
 skip-if = e10s
 [test_scroll_behavior.html]
 [test_selection_expanding.html]
 support-files = selection_expanding_xbl.xml
 [test_selection_preventDefault.html]
 [test_selection_splitText-normalize.html]
 [test_selection_touchevents.html]
--- a/toolkit/components/extensions/test/mochitest/mochitest-common.ini
+++ b/toolkit/components/extensions/test/mochitest/mochitest-common.ini
@@ -54,17 +54,17 @@ support-files =
   return_headers.sjs
   slow_response.sjs
   webrequest_worker.js
   !/toolkit/components/passwordmgr/test/authenticate.sjs
   !/dom/tests/mochitest/geolocation/network_geolocation.sjs
 
 [test_ext_clipboard.html]
 [test_ext_clipboard_image.html]
-# skip-if = # disabled test case with_permission_allow_copy, see inline comment.
+skip-if = headless # disabled test case with_permission_allow_copy, see inline comment. Headless: Bug 1405872
 [test_ext_inIncognitoContext_window.html]
 skip-if = os == 'android' # Android does not support multiple windows.
 [test_ext_geturl.html]
 [test_ext_background_canvas.html]
 [test_ext_content_security_policy.html]
 [test_ext_contentscript_api_injection.html]
 [test_ext_contentscript_async_loading.html]
 skip-if = os == 'android' && debug # The generated script takes too long to load on Android debug