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);
|
||||
|
||||
// Enable or disable OOP depending on the test's filename.
|
||||
var oop;
|
||||
if (location.pathname.indexOf("_inproc_") != -1) {
|
||||
oop = false;
|
||||
}
|
||||
else {
|
||||
// oop by default
|
||||
oop = true;
|
||||
}
|
||||
// Always disable OOP on Windows (bug 763081).
|
||||
var oop = navigator.platform.indexOf('Win') == -1 &&
|
||||
location.pathname.indexOf('_inproc_') == -1;
|
||||
|
||||
browserElementTestHelpers.setOOPByDefaultPref(oop);
|
||||
browserElementTestHelpers.setOOPDisabledPref(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user