mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 792304 - Move the disabling of test_contextmenu.html on OS X 10.8 out of the test and into the manifest, and expand it to disabling the test for all OS X versions other than 10.6
--HG-- extra : rebase_source : 81cab3517ca12b9f69b7c3867949b81df986102c
This commit is contained in:
parent
558e8c0479
commit
1d8b9c525f
@ -29,7 +29,7 @@ support-files =
|
|||||||
[test_bug364677.html]
|
[test_bug364677.html]
|
||||||
[test_bug395533.html]
|
[test_bug395533.html]
|
||||||
[test_contextmenu.html]
|
[test_contextmenu.html]
|
||||||
skip-if = toolkit == "gtk2" || toolkit == "gtk3" # disabled on Linux due to bug 513558
|
skip-if = toolkit == "gtk2" || toolkit == "gtk3" || (os == 'mac' && os_version != '10.6') # disabled on Linux due to bug 513558, on Mac after 10.6 due to bug 792304
|
||||||
[test_contextmenu_input.html]
|
[test_contextmenu_input.html]
|
||||||
skip-if = toolkit == "gtk2" || toolkit == "gtk3" # disabled on Linux due to bug 513558
|
skip-if = toolkit == "gtk2" || toolkit == "gtk3" # disabled on Linux due to bug 513558
|
||||||
[test_feed_discovery.html]
|
[test_feed_discovery.html]
|
||||||
|
@ -852,11 +852,6 @@ function waitForEvents(event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
|
|
||||||
|
|
||||||
if (isOSXMtnLion) {
|
|
||||||
todo(false, "Mountain Lion doesn't like this test (bug 792304)");
|
|
||||||
} else {
|
|
||||||
SpecialPowers.setBoolPref("plugins.click_to_play", true);
|
SpecialPowers.setBoolPref("plugins.click_to_play", true);
|
||||||
setTestPluginEnabledState(Ci.nsIPluginTag.STATE_CLICKTOPLAY);
|
setTestPluginEnabledState(Ci.nsIPluginTag.STATE_CLICKTOPLAY);
|
||||||
|
|
||||||
@ -865,7 +860,6 @@ if (isOSXMtnLion) {
|
|||||||
subwindow.onload = waitForEvents;
|
subwindow.onload = waitForEvents;
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
</pre>
|
</pre>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user