Opened 10 years ago

Closed 10 years ago

#14249 closed defect (fixed)

FF8: robot/TimeTextBox test failure

Reported by: bill Owned by: Douglas Hays
Priority: high Milestone: 1.8
Component: Dijit - Form Version: 1.7.0
Keywords: dohfail Cc:
Blocked By: Blocking:


From either runTests.html or directly running form/robot/TimeTextBox.html (and using firebug or web console to see the log), I get:

_AssertFailure: http://mac/clean/dojo/dojo.js:333 doh._AssertFailure: assertEqual() failed: expected T17:45:00 but got T18:00:00 with hint: same value as before
dojo.js (line 642)
console.error(, " "))
ERROR IN: (function () {var d = new doh.Deferred, w = dijit.byId("q1"); = null;w.focus();doh.robot.sequence(d.getTestErrback(function () {var popup = dijit.byId("q1_popup");doh.t(!popup || isHidden(popup), "popup hidden");}), 500);doh.robot.keyPress(dojo.keys.DOWN_ARROW, 1000, {});doh.robot.sequence(d.getTestErrback(function () {var popup = dijit.byId("q1_popup");doh.t(popup && isVisible(popup), "popup visible");}), 500);doh.robot.keyPress(dojo.keys.ESCAPE, 500, {});doh.robot.sequence(d.getTestCallback(function () {var popup = dijit.byId("q1_popup");doh.t(!popup || isHidden(popup), "popup hidden");var val ="value"), {selector: "time"});, "T18:00:00", "same value as before");}), 500);return d;})
dojo.js (line 642)
FAILED test: cancel 3028 ms

It was working on FF before upgrading to FF8.

Change History (3)

comment:1 Changed 10 years ago by bill

Keywords: dohfail added

comment:2 Changed 10 years ago by Douglas Hays

Milestone: 1.8

comment:3 Changed 10 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

In [27313]:

Fixes #14249. Weird FF8 bug where focus() doesn't set the input caret, and then a subsequent ESC key causes a form field reset. Workaround by setting the input caret with right arrow key.

Note: See TracTickets for help on using tickets.