Ticket #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: | ||
Blocking: | Blocked by: |
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
comment:1 Changed 9 months ago by m_gol
- Priority changed from undecided to low
- Component changed from unfiled to core
- Milestone changed from None to 1.11.1/2.1.1
comment:3 Changed 9 months ago by m_gol
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 months ago by dmethvin
Let's just blacklist the test for now and wait for a real report of a problem.
comment:5 Changed 9 months ago by Michał Gołębiowski
- Status changed from assigned to closed
- Resolution set to fixed
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.