Bug 762049 - Part 5: Disable OOP tests on Windows. r=mounir

This commit is contained in:
Justin Lebar 2012-06-09 12:05:31 -04:00
parent 7b6656d5f8
commit 31954f2dce

View File

@ -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);