From b8db274b173b03d8063c605c8e4ae481e114710f Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Fri, 11 Mar 2016 10:45:00 +0800 Subject: [PATCH] Bug 1255659 part 2 - Add 'fullscreen' tag to tests which ever put window into fullscreen. r=smaug MozReview-Commit-ID: EBynEGbpYQU --HG-- extra : rebase_source : 1f777ff519e602403486d24e739b252a2dfc8428 --- browser/base/content/test/general/browser.ini | 3 +++ browser/components/customizableui/test/browser.ini | 2 ++ browser/components/extensions/test/browser/browser.ini | 2 ++ dom/html/test/browser.ini | 2 ++ dom/html/test/mochitest.ini | 2 ++ dom/tests/mochitest/chrome/chrome.ini | 4 ++++ dom/tests/mochitest/pointerlock/mochitest.ini | 1 + layout/forms/test/chrome.ini | 1 + layout/style/test/chrome/chrome.ini | 1 + widget/tests/chrome.ini | 1 + 10 files changed, 19 insertions(+) diff --git a/browser/base/content/test/general/browser.ini b/browser/base/content/test/general/browser.ini index b16edb6fad96..8705e63e830f 100644 --- a/browser/base/content/test/general/browser.ini +++ b/browser/base/content/test/general/browser.ini @@ -294,6 +294,7 @@ skip-if = os == 'win' [browser_clipboard.js] [browser_contentAreaClick.js] [browser_contextmenu.js] +tags = fullscreen skip-if = toolkit == "gtk2" || toolkit == "gtk3" # disabled on Linux due to bug 513558 [browser_contextmenu_input.js] skip-if = toolkit == "gtk2" || toolkit == "gtk3" # disabled on Linux due to bug 513558 @@ -317,6 +318,7 @@ skip-if = true # browser_drag.js is disabled, as it needs to be updated for the [browser_findbarClose.js] [browser_focusonkeydown.js] [browser_fullscreen-window-open.js] +tags = fullscreen skip-if = buildapp == 'mulet' || os == "linux" # Linux: Intermittent failures - bug 941575. [browser_fxaccounts.js] support-files = fxa_profile_handler.sjs @@ -543,6 +545,7 @@ support-files = support-files = readerModeArticle.html [browser_domFullscreen_fullscreenMode.js] +tags = fullscreen [browser_menuButtonBadgeManager.js] [browser_aboutTabCrashed.js] skip-if = !e10s || !crashreporter diff --git a/browser/components/customizableui/test/browser.ini b/browser/components/customizableui/test/browser.ini index fe5bb6acf7c2..5ea9850ad708 100644 --- a/browser/components/customizableui/test/browser.ini +++ b/browser/components/customizableui/test/browser.ini @@ -18,6 +18,7 @@ support-files = [browser_884402_customize_from_overflow.js] skip-if = os == "linux" [browser_885052_customize_mode_observers_disabed.js] +tags = fullscreen # Bug 951403 - Disabled on OSX for frequent failures skip-if = os == "mac" @@ -137,6 +138,7 @@ skip-if = os == "linux" [browser_1042100_default_placements_update.js] [browser_1058573_showToolbarsDropdown.js] [browser_1087303_button_fullscreen.js] +tags = fullscreen skip-if = os == "mac" [browser_1087303_button_preferences.js] [browser_1089591_still_customizable_after_reset.js] diff --git a/browser/components/extensions/test/browser/browser.ini b/browser/components/extensions/test/browser/browser.ini index 2e5e70cc5dad..73e483a0d88a 100644 --- a/browser/components/extensions/test/browser/browser.ini +++ b/browser/components/extensions/test/browser/browser.ini @@ -52,8 +52,10 @@ support-files = [browser_ext_tabs_move_window_pinned.js] [browser_ext_tabs_onHighlighted.js] [browser_ext_windows_create.js] +tags = fullscreen [browser_ext_windows_create_tabId.js] [browser_ext_windows_update.js] +tags = fullscreen [browser_ext_contentscript_connect.js] [browser_ext_tab_runtimeConnect.js] [browser_ext_topwindowid.js] diff --git a/dom/html/test/browser.ini b/dom/html/test/browser.ini index 803b18936e6e..e8e359412a3d 100644 --- a/dom/html/test/browser.ini +++ b/dom/html/test/browser.ini @@ -18,4 +18,6 @@ support-files = file_bug1108547-3.html [browser_DOMDocElementInserted.js] [browser_fullscreen-api-keys.js] +tags = fullscreen [browser_fullscreen-contextmenu-esc.js] +tags = fullscreen diff --git a/dom/html/test/mochitest.ini b/dom/html/test/mochitest.ini index bf0bb2483d85..970294574cc8 100644 --- a/dom/html/test/mochitest.ini +++ b/dom/html/test/mochitest.ini @@ -466,8 +466,10 @@ skip-if = buildapp == 'b2g' || toolkit == 'android' #TIMED_OUT # b2g(NS_ERROR_FI skip-if = toolkit == 'android' [test_formelements.html] [test_fullscreen-api.html] +tags = fullscreen skip-if = buildapp == 'mulet' || buildapp == 'b2g' || toolkit == 'android' # b2g(time out, some kind of focus issue) b2g-debug(time out, some kind of focus issue) b2g-desktop(time out, some kind of focus issue) [test_fullscreen-api-race.html] +tags = fullscreen skip-if = buildapp == 'b2g' || toolkit == 'android' || toolkit == 'cocoa' || e10s # just copy the conditions from the test above [test_hidden.html] [test_html_attributes_reflection.html] diff --git a/dom/tests/mochitest/chrome/chrome.ini b/dom/tests/mochitest/chrome/chrome.ini index 9e7ab88d02f6..188334d80bd5 100644 --- a/dom/tests/mochitest/chrome/chrome.ini +++ b/dom/tests/mochitest/chrome/chrome.ini @@ -32,6 +32,7 @@ support-files = [test_DOMWindowCreated.xul] [test_DOM_element_instanceof.xul] [test_activation.xul] +tags = fullscreen [test_bug799299.xul] [test_bug800817.xul] [test_bug830396.xul] @@ -52,6 +53,7 @@ skip-if = buildapp == 'mulet' [test_focus_switchbinding.xul] [test_focused_link_scroll.xul] [test_fullscreen.xul] +tags = fullscreen # disabled on linux for timeouts--bug-867745 skip-if = os == 'linux' [test_geolocation.xul] @@ -59,6 +61,7 @@ skip-if = os == 'linux' [test_moving_nodeList.xul] [test_moving_xhr.xul] [test_MozDomFullscreen_event.xul] +tags = fullscreen # disabled on OS X for intermittent failures--bug-798848 skip-if = toolkit == 'cocoa' [test_nodesFromRect.html] @@ -74,6 +77,7 @@ skip-if = os == 'linux' [test_sandbox_postMessage.html] [test_selectAtPoint.html] [test_sizemode_attribute.xul] +tags = fullscreen skip-if = os != 'win' [test_subscript_bindings.xul] [test_xray_event_constructor.xul] diff --git a/dom/tests/mochitest/pointerlock/mochitest.ini b/dom/tests/mochitest/pointerlock/mochitest.ini index 14a5b627e286..cb4c7a49d8fe 100644 --- a/dom/tests/mochitest/pointerlock/mochitest.ini +++ b/dom/tests/mochitest/pointerlock/mochitest.ini @@ -21,4 +21,5 @@ support-files = iframe_differentDOM.html [test_pointerlock-api.html] +tags = fullscreen skip-if = buildapp == 'b2g' || toolkit == 'android' # B2G - window.open focus issues using fullscreen. diff --git a/layout/forms/test/chrome.ini b/layout/forms/test/chrome.ini index 4539d235171d..8d8ed4d03cbe 100644 --- a/layout/forms/test/chrome.ini +++ b/layout/forms/test/chrome.ini @@ -7,4 +7,5 @@ support-files = [test_bug536567_perwindowpb.html] [test_bug665540.html] +tags = fullscreen skip-if = buildapp == 'mulet' || (os == 'linux' && bits == 64) # Bug 888164 diff --git a/layout/style/test/chrome/chrome.ini b/layout/style/test/chrome/chrome.ini index 37f498d9c7b5..ef46787fe3c3 100644 --- a/layout/style/test/chrome/chrome.ini +++ b/layout/style/test/chrome/chrome.ini @@ -17,6 +17,7 @@ support-files = [test_bug1160724.xul] [test_bug535806.xul] [test_display_mode.html] +tags = fullscreen [test_hover.html] skip-if = buildapp == 'mulet' [test_moz_document_rules.html] diff --git a/widget/tests/chrome.ini b/widget/tests/chrome.ini index 3eba0037e7bb..23be32cb9969 100644 --- a/widget/tests/chrome.ini +++ b/widget/tests/chrome.ini @@ -53,6 +53,7 @@ skip-if = toolkit != "cocoa" [test_bug485118.xul] skip-if = toolkit != "cocoa" [test_bug522217.xul] +tags = fullscreen skip-if = toolkit != "cocoa" support-files = window_bug522217.xul [test_platform_colors.xul]