diff --git a/layout/tools/reftest/README.txt b/layout/tools/reftest/README.txt index f1ec5b0ad86c..91c487209b69 100644 --- a/layout/tools/reftest/README.txt +++ b/layout/tools/reftest/README.txt @@ -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. - diff --git a/modules/plugin/test/reftest/pluginproblemui-direction-1-ref.html b/modules/plugin/test/reftest/pluginproblemui-direction-1-ref.html index f9983ee6347f..fafec34f4315 100644 --- a/modules/plugin/test/reftest/pluginproblemui-direction-1-ref.html +++ b/modules/plugin/test/reftest/pluginproblemui-direction-1-ref.html @@ -1,5 +1,5 @@ - + Plugin Problem UI directionality test @@ -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); } } diff --git a/modules/plugin/test/reftest/pluginproblemui-direction-1.html b/modules/plugin/test/reftest/pluginproblemui-direction-1.html index b01f7df68f5e..9888850dc98b 100644 --- a/modules/plugin/test/reftest/pluginproblemui-direction-1.html +++ b/modules/plugin/test/reftest/pluginproblemui-direction-1.html @@ -1,5 +1,5 @@ - + Plugin Problem UI directionality test @@ -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); } } diff --git a/modules/plugin/test/reftest/pluginproblemui-direction-2-ref.html b/modules/plugin/test/reftest/pluginproblemui-direction-2-ref.html index fdfd9b694218..e807b86b5bf8 100644 --- a/modules/plugin/test/reftest/pluginproblemui-direction-2-ref.html +++ b/modules/plugin/test/reftest/pluginproblemui-direction-2-ref.html @@ -1,5 +1,5 @@ - + Plugin Problem UI directionality test @@ -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); } } diff --git a/modules/plugin/test/reftest/pluginproblemui-direction-2.html b/modules/plugin/test/reftest/pluginproblemui-direction-2.html index 84c3f308898a..95b358e3721a 100644 --- a/modules/plugin/test/reftest/pluginproblemui-direction-2.html +++ b/modules/plugin/test/reftest/pluginproblemui-direction-2.html @@ -1,5 +1,5 @@ - + Plugin Problem UI directionality test @@ -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); } }