зеркало из https://github.com/mozilla/gecko-dev.git
Bug 735805 - Part 3: Fix plugin mochitests that run no tests. r=roc
This commit is contained in:
Родитель
8e94b44134
Коммит
e07be428ad
|
@ -33,8 +33,8 @@
|
|||
const NSLeftMouseDown = 1,
|
||||
NSLeftMouseUp = 2;
|
||||
|
||||
// Don't run any tests if we're not testing the Cocoa event model.
|
||||
if (plugin1.getEventModel() != 1) {
|
||||
window.opener.todo(false, "Skipping this test when not testing the Cocoa event model");
|
||||
window.opener.testsFinished();
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
var plugin1 = document.getElementById("plugin1");
|
||||
var plugin2 = document.getElementById("plugin2");
|
||||
|
||||
// Don't run any tests if we're not testing the Cocoa event model.
|
||||
if (plugin1.getEventModel() != 1) {
|
||||
window.opener.todo(false, "Skipping this test when not testing the Cocoa event model");
|
||||
window.opener.testsFinished();
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="/tests/SimpleTest/test.css" />
|
||||
<script type="application/javascript>
|
||||
<script>
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function frameLoaded() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче