зеркало из https://github.com/mozilla/pjs.git
Try to collect some more data for bug 477631: [Linux] Intermittent Chrome test_bug418874.xul failure
This commit is contained in:
Родитель
c64678c931
Коммит
eb4d2adfd1
|
@ -75,8 +75,10 @@
|
|||
synthesizeKey("1", {});
|
||||
var t1Enabled = {};
|
||||
var t1CanUndo = {};
|
||||
is(t1.value, "1", "t1 value correct following input");
|
||||
t1.editor.canUndo(t1Enabled, t1CanUndo);
|
||||
ok(t1CanUndo.value, "undo correctly enabled when emptyText was not changed through property");
|
||||
is(t1CanUndo.value, true,
|
||||
"undo correctly enabled when emptyText was not changed through property");
|
||||
|
||||
t2.emptyText = "reallyempty";
|
||||
is(t2.inputField.value, "reallyempty", "updated emptyText displayed");
|
||||
|
@ -84,8 +86,10 @@
|
|||
synthesizeKey("2", {});
|
||||
var t2Enabled = {};
|
||||
var t2CanUndo = {};
|
||||
is(t2.value, "2", "t2 value correct following input");
|
||||
t2.editor.canUndo(t2Enabled, t2CanUndo);
|
||||
ok(t2CanUndo.value, "undo correctly enabled when emptyText explicitly changed through property");
|
||||
is(t2CanUndo.value, true,
|
||||
"undo correctly enabled when emptyText explicitly changed through property");
|
||||
}
|
||||
|
||||
]]></script>
|
||||
|
|
Загрузка…
Ссылка в новой задаче