Bug 652501 - Part 2: Make existing plugin crash reftests clean up after themselves. r=roc

This commit is contained in:
Cameron McCormack 2011-04-26 15:02:38 +12:00
Родитель 76f0cc3edd
Коммит 7fa9b8a992
5 изменённых файлов: 8 добавлений и 9 удалений

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

@ -441,4 +441,3 @@ IPC process crash, have the test include "reftest-expect-process-crash" as
one of the root element's classes by the time the test has finished. This will
cause any minidump files that are generated while running the test to be removed
and they won't cause any error messages in the test run output.

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

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html class="reftest-wait">
<html class="reftest-expect-process-crash reftest-wait">
<head>
<title>Plugin Problem UI directionality test</title>
</head>
@ -9,7 +9,7 @@
var plugin = document.getElementById("crashme");
function checkForCrashUI() {
if (getComputedStyle(plugin, null).MozBinding != "none") {
document.documentElement.removeAttribute("class");
document.documentElement.classList.remove("reftest-wait");
clearInterval(interval);
}
}

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

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html class="reftest-wait">
<html class="reftest-expect-process-crash reftest-wait">
<head>
<title>Plugin Problem UI directionality test</title>
</head>
@ -9,7 +9,7 @@
var plugin = document.getElementById("crashme");
function checkForCrashUI() {
if (getComputedStyle(plugin, null).MozBinding != "none") {
document.documentElement.removeAttribute("class");
document.documentElement.classList.remove("reftest-wait");
clearInterval(interval);
}
}

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

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html class="reftest-wait">
<html class="reftest-expect-process-crash reftest-wait">
<head>
<title>Plugin Problem UI directionality test</title>
</head>
@ -13,7 +13,7 @@
var plugin = document.getElementById("crashme");
function checkForCrashUI() {
if (getComputedStyle(plugin, null).MozBinding != "none") {
document.documentElement.removeAttribute("class");
document.documentElement.classList.remove("reftest-wait");
clearInterval(interval);
}
}

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

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html class="reftest-wait">
<html class="reftest-expect-process-crash reftest-wait">
<head>
<title>Plugin Problem UI directionality test</title>
</head>
@ -13,7 +13,7 @@
var plugin = document.getElementById("crashme");
function checkForCrashUI() {
if (getComputedStyle(plugin, null).MozBinding != "none") {
document.documentElement.removeAttribute("class");
document.documentElement.classList.remove("reftest-wait");
clearInterval(interval);
}
}