Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.
MozReview-Commit-ID: 74JwLUTzaMU
--- a/browser/components/contextualidentity/test/browser/browser.ini
+++ b/browser/components/contextualidentity/test/browser/browser.ini
@@ -6,12 +6,14 @@ support-files =
serviceworker.html
worker.js
[browser_aboutURLs.js]
[browser_usercontext.js]
[browser_usercontextid_tabdrop.js]
skip-if = os == "mac" || os == "win" # Intermittent failure - bug 1268276
[browser_windowName.js]
+tags = openwindow
[browser_windowOpen.js]
+tags = openwindow
[browser_serviceworkers.js]
[browser_broadcastchannel.js]
[browser_blobUrl.js]
--- a/browser/components/privatebrowsing/test/browser/browser.ini
+++ b/browser/components/privatebrowsing/test/browser/browser.ini
@@ -1,9 +1,10 @@
[DEFAULT]
+tags = openwindow
skip-if = buildapp == "mulet"
support-files =
browser_privatebrowsing_concurrent_page.html
browser_privatebrowsing_geoprompt_page.html
browser_privatebrowsing_localStorage_before_after_page.html
browser_privatebrowsing_localStorage_before_after_page2.html
browser_privatebrowsing_localStorage_page1.html
browser_privatebrowsing_localStorage_page2.html
--- a/docshell/test/iframesandbox/mochitest.ini
+++ b/docshell/test/iframesandbox/mochitest.ini
@@ -4,17 +4,21 @@ support-files =
file_our_auxiliary_navigation_by_location.html
file_parent_navigation_by_location.html
file_sibling_navigation_by_location.html
file_top_navigation_by_location.html
file_top_navigation_by_location_exotic.html
[test_child_navigation_by_location.html]
[test_other_auxiliary_navigation_by_location.html]
+tags = openwindow
skip-if = (buildapp == 'b2g' && toolkit != 'gonk') #bug 948948, NS_ERROR_FAILURE from nsWindowWatcher::GetPrompt
[test_our_auxiliary_navigation_by_location.html]
+tags = openwindow
skip-if = (buildapp == 'b2g' && toolkit != 'gonk') #bug 948948, NS_ERROR_FAILURE from nsWindowWatcher::GetPrompt
[test_parent_navigation_by_location.html]
+tags = openwindow
[test_sibling_navigation_by_location.html]
+tags = openwindow
[test_top_navigation_by_location_exotic.html]
skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || android_version == '18' #bug 948948, NS_ERROR_FAILURE from nsWindowWatcher::GetPrompt
[test_top_navigation_by_location.html]
skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || android_version == '18' #bug 948948, NS_ERROR_FAILURE from nsWindowWatcher::GetPrompt
--- a/docshell/test/navigation/browser.ini
+++ b/docshell/test/navigation/browser.ini
@@ -4,8 +4,9 @@ support-files =
bug343515_pg2.html
bug343515_pg3.html
bug343515_pg3_1.html
bug343515_pg3_1_1.html
bug343515_pg3_2.html
[browser_bug343515.js]
[browser_test-content-chromeflags.js]
+tags = openwindow
\ No newline at end of file
--- a/dom/base/test/mochitest.ini
+++ b/dom/base/test/mochitest.ini
@@ -686,16 +686,17 @@ skip-if = (buildapp == 'b2g' && toolkit
subsuite = clipboard
skip-if = buildapp == 'b2g' || toolkit == 'android' #bug 904183 # b2g(clipboard undefined) b2g-debug(clipboard undefined) b2g-desktop(clipboard undefined)
[test_copypaste.xhtml]
subsuite = clipboard
skip-if = buildapp == 'b2g' || toolkit == 'android' #bug 904183 # b2g(bug 904183) b2g-debug(bug 904183) b2g-desktop(bug 904183)
[test_createHTMLDocument.html]
[test_declare_stylesheet_obsolete.html]
[test_dialogArguments.html]
+tags = openwindow
skip-if = buildapp == 'mulet' || buildapp == 'b2g' || toolkit == 'android' || e10s # showmodaldialog
[test_document.all_iteration.html]
[test_document.all_unqualified.html]
[test_document_constructor.html]
[test_document_importNode_document.html]
[test_document_register.html]
[test_domcursor.html]
[test_domparser_null_char.html]
@@ -786,16 +787,17 @@ tags = audiochannel
[test_NodeIterator_mutations_3.html]
[test_nodelist_holes.html]
[test_nonascii_blob_url.html]
[test_noWebAudioNotification.html]
tags = audiochannel
[test_open_null_features.html]
skip-if = (buildapp == 'b2g' && toolkit != 'gonk') # Fails on b2g-desktop, tracked in bug 1011874
[test_openDialogChromeOnly.html]
+tags = openwindow
[test_orientation_alternate.html]
skip-if = toolkit != 'gonk'
[test_orientation_frame.html]
skip-if = toolkit != 'gonk'
[test_orientation_frame_lock.html]
skip-if = toolkit != 'gonk'
[test_orientation_sandbox_no_lock.html]
skip-if = toolkit != 'gonk'
--- a/dom/html/test/mochitest.ini
+++ b/dom/html/test/mochitest.ini
@@ -473,29 +473,36 @@ 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' # just copy the conditions from the test above
[test_hidden.html]
[test_html_attributes_reflection.html]
[test_htmlcollection.html]
[test_iframe_sandbox_general.html]
+tags = openwindow
skip-if = (buildapp == 'b2g' && toolkit != 'gonk') #Bug 931116, b2g desktop specific, initial triage
[test_iframe_sandbox_inheritance.html]
+tags = openwindow
[test_iframe_sandbox_modal.html]
+tags = openwindow
skip-if = buildapp == 'mulet' || buildapp == 'b2g' || toolkit == 'android' || e10s #modal tests fail on android # b2g(modal tests fail on B2G) b2g-debug(modal tests fail on B2G) b2g-desktop(Bug 931116, b2g desktop specific, initial triage)
[test_iframe_sandbox_navigation.html]
+tags = openwindow
skip-if = (buildapp == 'b2g' && toolkit != 'gonk') #time out on b2g desktop specific
[test_iframe_sandbox_navigation2.html]
+tags = openwindow
skip-if = (buildapp == 'b2g' && toolkit != 'gonk') #time out on b2g desktop specific
[test_iframe_sandbox_plugins.html]
skip-if = buildapp == 'mulet' || buildapp == 'b2g' || toolkit == 'android' # b2g(plugins not supported) b2g-debug(plugins not supported) b2g-desktop(plugins not supported)
[test_iframe_sandbox_popups.html]
+tags = openwindow
skip-if = buildapp == 'b2g' # b2g(multiple concurrent window.open()s fail on B2G) b2g-debug(multiple concurrent window.open()s fail on B2G) b2g-desktop(Bug 931116, b2g desktop specific, initial triage)
[test_iframe_sandbox_popups_inheritance.html]
+tags = openwindow
skip-if = buildapp == 'b2g' || toolkit == 'android' # b2g(multiple concurrent window.open()s fail on B2G) b2g-debug(multiple concurrent window.open()s fail on B2G) b2g-desktop(Bug 931116, b2g desktop specific, initial triage) android(bug 939642)
[test_iframe_sandbox_redirect.html]
[test_iframe_sandbox_refresh.html]
[test_iframe_sandbox_same_origin.html]
[test_iframe_sandbox_workers.html]
[test_img_attributes_reflection.html]
[test_imageSrcSet.html]
[test_imports_basics.html]
@@ -594,16 +601,17 @@ support-files = file_cookiemanager.js
[test_bug765780.html]
[test_bug871161.html]
skip-if = (buildapp == 'b2g' && toolkit != 'gonk') #Bug 931116, b2g desktop specific, initial triage
support-files = file_bug871161-1.html file_bug871161-2.html
[test_bug1013316.html]
[test_hash_encoded.html]
[test_bug1081037.html]
[test_window_open_close.html]
+tags = openwindow
skip-if = buildapp == 'b2g' # bug 1129014
[test_img_complete.html]
[test_viewport_resize.html]
[test_image_clone_load.html]
[test_bug1203668.html]
[test_bug1166138.html]
[test_bug1230665.html]
[test_filepicker_default_directory.html]
--- a/dom/tests/browser/browser.ini
+++ b/dom/tests/browser/browser.ini
@@ -26,16 +26,17 @@ skip-if= buildapp == 'mulet'
[browser_autofocus_preference.js]
[browser_bug1238427.js]
[browser_bug396843.js]
[browser_focus_steal_from_chrome.js]
[browser_focus_steal_from_chrome_during_mousedown.js]
[browser_frame_elements.js]
[browser_localStorage_privatestorageevent.js]
[browser_test_new_window_from_content.js]
+tags = openwindow
skip-if = (toolkit == 'android' || buildapp == 'b2g' || buildapp == 'mulet') || (os == "linux" && debug) # see bug 1261495 for Linux debug time outs
support-files =
test_new_window_from_content_child.html
[browser_webapps_permissions.js]
# TODO: Re-enable permissions tests on Mac, bug 795334
skip-if = buildapp != "b2g" || e10s
support-files =
test-webapp.webapp
--- a/dom/tests/mochitest/bugs/mochitest.ini
+++ b/dom/tests/mochitest/bugs/mochitest.ini
@@ -71,16 +71,17 @@ skip-if = (buildapp == 'b2g' && toolkit
[test_bug396843.html]
skip-if = (buildapp == 'b2g' && (toolkit != 'gonk' || debug))
[test_bug400204.html]
[test_bug404748.html]
[test_bug406375.html]
skip-if = buildapp == 'mulet' || buildapp == 'b2g' || toolkit == 'android'
[test_bug411103.html]
[test_bug414291.html]
+tags = openwindow
[test_bug427744.html]
skip-if = buildapp == 'mulet' || buildapp == 'b2g' || toolkit == 'android'
[test_bug42976.html]
[test_bug430276.html]
[test_bug437361.html]
skip-if = buildapp == 'mulet' || buildapp == 'b2g' || toolkit == 'android' # b2g(dom.disable_open_during_load not implemented in b2g, showmodaldialog) b2g-debug(dom.disable_open_during_load not implemented in b2g, showmodaldialog) b2g-desktop(dom.disable_open_during_load not implemented in b2g, showmodaldialog)
[test_bug440572.html]
[test_bug456151.html]
--- a/dom/tests/mochitest/chrome/chrome.ini
+++ b/dom/tests/mochitest/chrome/chrome.ini
@@ -37,19 +37,21 @@ support-files =
[test_DOM_element_instanceof.xul]
[test_activation.xul]
tags = fullscreen
[test_bug799299.xul]
[test_bug800817.xul]
[test_bug830396.xul]
[test_bug830858.xul]
[test_bug1224790-1.xul]
+tags = openwindow
# synthesizeNativeOSXClick does not work on 10.6
skip-if = os != 'mac' || os_version == '10.6'
[test_bug1224790-2.xul]
+tags = openwindow
# synthesizeNativeOSXClick does not work on 10.6
skip-if = os != 'mac' || os_version == '10.6'
[test_callback_wrapping.xul]
[test_clonewrapper.xul]
[test_cyclecollector.xul]
[test_docshell_swap.xul]
[test_focus.xul]
skip-if = buildapp == 'mulet'
--- a/dom/workers/test/serviceworkers/mochitest.ini
+++ b/dom/workers/test/serviceworkers/mochitest.ini
@@ -246,16 +246,17 @@ tags = mcb
[test_not_intercept_plugin.html]
[test_notification_constructor_error.html]
[test_notification_get.html]
[test_notificationclick.html]
[test_notificationclick_focus.html]
[test_notificationclick-otherwindow.html]
[test_opaque_intercept.html]
[test_openWindow.html]
+tags = openwindow
[test_origin_after_redirect.html]
[test_origin_after_redirect_cached.html]
[test_origin_after_redirect_to_https.html]
[test_origin_after_redirect_to_https_cached.html]
[test_post_message.html]
[test_post_message_advanced.html]
[test_post_message_source.html]
[test_register_base.html]
--- a/layout/base/tests/chrome/chrome.ini
+++ b/layout/base/tests/chrome/chrome.ini
@@ -44,16 +44,17 @@ skip-if = buildapp == 'b2g'
support-files=bug1041200_window.html
[test_chrome_content_integration.xul]
skip-if = buildapp == 'b2g'
[test_chrome_over_plugin.xul]
skip-if = buildapp == 'mulet' || buildapp == 'b2g'
[test_default_background.xul]
skip-if = buildapp == 'b2g'
[test_dialog_with_positioning.html]
+tags = openwindow
skip-if = buildapp == 'b2g'
[test_fixed_bg_scrolling_repaints.html]
skip-if = buildapp == 'b2g'
[test_leaf_layers_partition_browser_window.xul]
skip-if = (!debug) || (toolkit == "cocoa") || (os == "linux") || (buildapp == 'b2g') # Disabled on Mac and Linux because of Bug 992311
[test_no_clip_iframe.xul]
skip-if = buildapp == 'b2g'
[test_passpointerevents.html]
--- a/toolkit/mozapps/extensions/test/browser/browser-common.ini
+++ b/toolkit/mozapps/extensions/test/browser/browser-common.ini
@@ -50,16 +50,17 @@ skip-if = buildapp == 'mulet'
[browser_manualupdates.js]
[browser_globalwarnings.js]
[browser_globalinformations.js]
[browser_eula.js]
skip-if = buildapp == 'mulet'
[browser_updateid.js]
[browser_purchase.js]
[browser_openDialog.js]
+tags = openwindow
skip-if = os == 'win' # Disabled on Windows due to intermittent failures (bug 1135866)
[browser_types.js]
[browser_inlinesettings.js]
[browser_inlinesettings_browser.js]
[browser_inlinesettings_custom.js]
[browser_inlinesettings_info.js]
[browser_tabsettings.js]
[browser_pluginprefs.js]