Opened 12 years ago
Closed 11 years ago
#3486 closed enhancement (fixed)
provide cross-browser synthetic event support?
Reported by: | davidb | Owned by: | haysmark |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | TestFramework | Version: | 0.9 |
Keywords: | Cc: | simonjb bill Becky Gibson | |
Blocked By: | Blocking: |
Description (last modified by )
Dijit, and others would probably benefit from a cross-browser way of creating synthetic events.
I'm writing a test that uses a synthetic event and realized it would be great if DOH provided a nice way of doing this so that it works on all our supported browsers. Or maybe this belongs outside of the test framework for general usage?
Note a dijit implementation: dijit/form/ComboBox.js seems to make use of browser specific document.createEvent;
Attachments (1)
Change History (16)
comment:1 Changed 12 years ago by
Milestone: | 1.0 → 0.9 |
---|
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
Milestone: | 0.9 → 1.0 |
---|
comment:4 Changed 12 years ago by
Owner: | changed from alex to davidb |
---|
David, Alex and I are nominating you to put this into DOH since it's mainly for accessibility testing. Let's see how hard it is to do (on all browsers) and consider it for 1.0. It might be better to punt and just use Selenium, so if it looks too hard let's reconsider.
comment:6 Changed 12 years ago by
Update: A volunteer is looking into Selenium, Windmill etc. to see if they have what we need. Eventually we should be able to hook one of these tools into DOH.
comment:7 Changed 12 years ago by
Milestone: | 1.0 → 1.1 |
---|
comment:8 Changed 12 years ago by
Milestone: | 1.1 → 1.2 |
---|
comment:9 Changed 12 years ago by
I heard there were Windmill folks at DDD but unfortunately I didn't meet them. Are there discussions I could join about possibly using Windmill to solve issues like this one?
http://windmill.osafoundation.org/
Oh, and BTW, I'm coming back into the Dojo fold next week (part time).
comment:10 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from davidb to haysmark |
Since I'm almost ready to drop code for the real event support (which is what we really need for a11y), I'll go ahead and take this.
comment:11 Changed 11 years ago by
Status: | new → assigned |
---|
Attached patch+applet for initial checkin of the test automator.
comment:12 Changed 11 years ago by
comment:13 Changed 11 years ago by
comment:14 Changed 11 years ago by
comment:15 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Example: FF uses document.createEvent, IE uses document.createEventObject.
We could normalize perhaps... dojo.createEvent