Bug 405284 - Confusing error reports from timepicker tests, r=enndeakin

This commit is contained in:
philringnalda@gmail.com 2007-12-01 21:22:33 -08:00
parent fc213130b6
commit da3ad2d743

View File

@ -160,9 +160,9 @@ function testtag_timepicker_UI_key(tp, testid, value, field,
var eventTarget = tp.readOnly ? null : tp;
var testname = testid + " " + value + " key down";
var testname = testid + " " + value + " key up";
synthesizeKeyExpectEvent("VK_UP", { }, eventTarget, "change", testname);
testtag_comparetime(tp, testid + " " + value + " key up", uhour, uminute, usecond);
testtag_comparetime(tp, testname, uhour, uminute, usecond);
testname = testid + " " + value + " key down";
synthesizeKeyExpectEvent("VK_DOWN", { }, eventTarget, "change", testname);