зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1165158 - Enable pointer lock tests on Linux and Windows except XP. r=RyanVM
--HG-- extra : source : 861e867fb552b7fc3c04dc9cd1111ac9954e951a
This commit is contained in:
Родитель
f58abbc7af
Коммит
a22ad9d47a
|
@ -1,6 +1,3 @@
|
|||
# NOTE: Bug 788164: the tests in this file are disabled on Linux
|
||||
# in dom/tests/mochitest/moz.build for intermittent failures.
|
||||
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
pointerlock_utils.js
|
||||
|
@ -25,4 +22,4 @@ support-files =
|
|||
iframe_differentDOM.html
|
||||
|
||||
[test_pointerlock-api.html]
|
||||
skip-if = toolkit == "windows" || buildapp == 'b2g' || toolkit == 'android' || e10s # B2G - window.open focus issues using fullscreen, Windows - bug 919106 & bug 931445
|
||||
skip-if = buildapp == 'b2g' || toolkit == 'android' || e10s # B2G - window.open focus issues using fullscreen
|
||||
|
|
|
@ -71,7 +71,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=633602
|
|||
const isOSXLion = navigator.userAgent.indexOf("Mac OS X 10.7") != -1;
|
||||
const isOSXMtnLion = navigator.userAgent.indexOf("Mac OS X 10.8") != -1;
|
||||
const isOSXYosemite = navigator.userAgent.indexOf("Mac OS X 10.10") != -1;
|
||||
const isWin8 = navigator.userAgent.indexOf("Windows NT 6.2") != -1;
|
||||
|
||||
function finish() {
|
||||
SpecialPowers.clearUserPref("full-screen-api.enabled");
|
||||
|
@ -86,11 +85,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=633602
|
|||
finish();
|
||||
return;
|
||||
}
|
||||
if (isWin8) {
|
||||
todo(false, "Can't reliably run full-screen + pointer lock tests on Windows 8");
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
if (isOSXLion || isOSXMtnLion || isOSXYosemite) {
|
||||
todo(false, "Can't reliably run full-screen tests on OS X Lion or Mountain Lion or Yosemite, see bug 744125");
|
||||
finish();
|
||||
|
|
|
@ -25,6 +25,7 @@ MOCHITEST_MANIFESTS += [
|
|||
'mochitest/localstorage/mochitest.ini',
|
||||
'mochitest/notification/mochitest.ini',
|
||||
'mochitest/orientation/mochitest.ini',
|
||||
'mochitest/pointerlock/mochitest.ini',
|
||||
'mochitest/sessionstorage/mochitest.ini',
|
||||
'mochitest/storageevent/mochitest.ini',
|
||||
'mochitest/webapps/mochitest.ini',
|
||||
|
@ -42,12 +43,6 @@ MOCHITEST_CHROME_MANIFESTS += [
|
|||
'mochitest/whatwg/chrome.ini',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] not in ('gtk2', 'gtk3'):
|
||||
# Bug 788164.
|
||||
MOCHITEST_MANIFESTS += [
|
||||
'mochitest/pointerlock/mochitest.ini',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_GAMEPAD']:
|
||||
MOCHITEST_MANIFESTS += [
|
||||
'mochitest/gamepad/mochitest.ini',
|
||||
|
|
Загрузка…
Ссылка в новой задаче