mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 01:10:22 +00:00
Bug 652501 - Part 2: Make existing plugin crash reftests clean up after themselves. r=roc
This commit is contained in:
parent
76f0cc3edd
commit
7fa9b8a992
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user