Bug 149578
| Summary: | REGRESSION (iOS 9): Touchstart event will delay requestAnimationFrame() callback and cause drop in frame rate | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | yjhatfdu |
| Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | dbates, dino, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 9 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 9.0 | ||
yjhatfdu
When I touch on a dom, the next requestAnimationFrame will not fired as it was in iOS8,it will delay for about 5ms after the touchStart event done. This makes the html5 games drop frame.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/22874812>
Simon Fraser (smfr)
Do you have a web page that demonstrates this?
yjhatfdu
(In reply to comment #2)
> Do you have a web page that demonstrates this?
Please try this https://m.tianyi9.com/tests/touchtest/index.html.
If you touch on the screen in iOS9, the animation will drop frame. And this works much better in iOS8. I even didn't add an event handler to touch events. This bug makes my html5 music game(https://m.tianyi9.com) drop frame heavily under iOS9.