generalize the "test something in an iframe" code in unit tests
there are 3 different pieces of code in 3 different unit test modules:
support.js: supportIFrameTest
selector.js: testIframe
offset.js: testoffset
testIframe and testOffset are almost exact duplicates. supportIFrameTest is close enough. I was about to start writing another one for a ticket I'm trying to fix in event.js, but perhaps it's time to DRY this code and move it into test/data/testinit.js ?
I'd be glad to take a stab at it. 1.8?
Change History (4)
Component: |
unfiled →
build
|
Milestone: |
None →
1.8
|
Priority: |
undecided →
low
|
Status: |
new →
open
|
Owner: |
set to mikesherov
|
Status: |
open →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Sounds like a good idea!