mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 14:30:47 +00:00
Bug 762049 - Part 5: Disable OOP tests on Windows. r=mounir
This commit is contained in:
parent
7b6656d5f8
commit
31954f2dce
@ -123,14 +123,9 @@ browserElementTestHelpers.origPageThumbsEnabledPref = browserElementTestHelpers.
|
|||||||
browserElementTestHelpers.setPageThumbsEnabledPref(false);
|
browserElementTestHelpers.setPageThumbsEnabledPref(false);
|
||||||
|
|
||||||
// Enable or disable OOP depending on the test's filename.
|
// Enable or disable OOP depending on the test's filename.
|
||||||
var oop;
|
// Always disable OOP on Windows (bug 763081).
|
||||||
if (location.pathname.indexOf("_inproc_") != -1) {
|
var oop = navigator.platform.indexOf('Win') == -1 &&
|
||||||
oop = false;
|
location.pathname.indexOf('_inproc_') == -1;
|
||||||
}
|
|
||||||
else {
|
|
||||||
// oop by default
|
|
||||||
oop = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
browserElementTestHelpers.setOOPByDefaultPref(oop);
|
browserElementTestHelpers.setOOPByDefaultPref(oop);
|
||||||
browserElementTestHelpers.setOOPDisabledPref(false);
|
browserElementTestHelpers.setOOPDisabledPref(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user