bug 535687 is not fixed yet so mark todo for mochitest-ipcplugins

--HG--
extra : rebase_source : ff6a13dc4dfbbac62071328bc9202eb2f9169d99
This commit is contained in:
Karl Tomlinson 2009-12-31 20:32:51 +13:00
Родитель 8e6c7ce240
Коммит 65c1f4f6f8
1 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -88,7 +88,15 @@ function invalidate() {
}
function done() {
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
var prefs = Components.classes['@mozilla.org/preferences-service;1']
.getService(Components.interfaces.nsIPrefBranch);
if (prefs.getBoolPref('dom.ipc.plugins.enabled')) {
// bug 535687
todo_is(clipped.getPaintCount(), 2, "painted after invalidate");
} else {
is(clipped.getPaintCount(), 2, "painted after invalidate");
}
SimpleTest.finish();
}