Opened 9 years ago
Closed 9 years ago
#14882 closed bug (fixed)
document.ready doesn't fire in iOS7 for jQuery loaded after window load event fires
Reported by: | m_gol | Owned by: | m_gol |
---|---|---|---|
Priority: | low | Milestone: | 1.11.1/2.1.1 |
Component: | core | Version: | 2.1.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
document.ready
doesn't fire in iOS7 for jQuery loaded after window load
event fires. This causes one test to fail, see e.g.: http://swarm.jquery.org/result/1680275
Change History (5)
comment:1 Changed 9 years ago by
Component: | unfiled → core |
---|---|
Milestone: | None → 1.11.1/2.1.1 |
Priority: | undecided → low |
comment:2 Changed 9 years ago by
Owner: | set to m_gol |
---|---|
Status: | new → assigned |
comment:3 Changed 9 years ago by
It seems that to trigger this bug one has to:
- load jQuery asynchronously
- execute some code in document ready of this new jQuery
- do it all in an iframe
Removing any condition from these 3 makes the bug disappear.
This seems so improbable (and core/ready code so fragile & hard to test) that I'd prefer to just blacklist iOS7 for this specific test.
I'll hold off until Monday meeting before commiting anything.
comment:4 Changed 9 years ago by
Let's just blacklist the test for now and wait for a real report of a problem.
comment:5 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Core: Blacklist the ready test on async-loaded jQuery in iOS7
Fixes #14882
Changeset: 551578eb3676f67cccd8a91a582c2225bc970cac
This test also *sometimes* fails on IE11 on TestSwarm. On iOS7, however, it fails all the time, on TestSwarm & locally and even if both timeouts (from dynamic_ready.html and dont_return.php) are bumped significantly.