Opened 14 years ago
Closed 14 years ago
#4577 closed bug (invalid)
qunit test running issue when being loaded after document is ready.
Reported by: | madsmith | Owned by: | joern |
---|---|---|---|
Priority: | minor | Milestone: | 1.4 |
Component: | qunit | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
My company is using qunit and it's becoming available after the document is ready. As such, $(window).load does not fire and the test case does not run.
As per the jquery documentation, it appears that jQuery(document).ready() should have been used, instead of hooking on the window's load.
Will attach patch file.
Attachments (1)
Change History (4)
Changed 14 years ago by
comment:1 Changed 14 years ago by
This is my first time interacting with this project, please forgive any errors in how the ticket was filed.
comment:2 Changed 14 years ago by
Unfortunately this doesn't seem to be the fix for the problem nor after deeper inspection is my test case firing after the document is ready. It's completely unclear why testrunner intermittently fails to initialize, further inspection is required.
comment:3 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing this. Please open a new ticket if you track down the issue.
Patch for using .ready instead of .load to bootstrap testrunner