Open mattetti opened 12 years ago
Potentially related: #100.
Note that this issue only seems to affect iOS 5, the same code works on iOS6
Ok, #158 does not fix this.
The issue is bound to the iframe runner, which is used by iOS5. I will debug that now and add a commit to #158
Found the cause: There is an expectation that code passed to run()
can be executed synchronously. If that’s the case – as with the webworker runner – everything is fine. The iframe runner is not able to execute code synchronously, and the 'load'
event fires too early.
This issue will be adressed in the upcoming rewrite of the script loading system.
Take a look at this reduction: http://jsfiddle.net/XQdLu/
In my browsers (Chrome/Safari), the 'load' event gets triggered which sends the message to the movie variable which then draws the yellow Rect instance. However on my cellphone (iPhone running iOS5/safari, the rectangle never gets drawn.