Added a couple of request I’d previously overlooked; Remote Debug API & Better support for
The guys over at Sencha have just posted their wish-list for the 8 things they want to see in iOS 5. As you might expect they’ve focused on the improvements they’d like to see in Safari.
Of the 8, these are what I consider the most important:
There’s been a lot of really great WebGL demo’s lately, all of which currently require Chrome. I’d love to see WebGL make an appearance in iOS5 & also be brought from the WebKit nightlies into an updated Safari build!
Some apps (particularly games) are often designed to be used only in one orientation or another. Unlike native apps, there is currently no way for an iOS web application to prevent viewport rotation, and the ability to enforce this would be a welcome addition to the web runtime.
This is definitely a must, especially if they do add WebGL support.
Also, viewport settings currently have to be prescribed in markup, and we’d like to see them overridden in vendor-specific CSS, where they probably always belonged.
The current meta tag support is useful but it does pose some problems, especially if you wish to treat different devices differently. Suppose you’re using media queries to render your site differently for iPhone & iPad, you may wish to prevent scaling on iPhone but not on iPad. This (as far as I have found) isn’t possible without conditionally adding the metatags server side.
If these viewport controls were controlled via CSS then we could use the same media queries to deliver different settings to different devices!
I’d also like to see:
Better support for adding bookmarklets
The current process for adding a bookmarklet in Mobile Safari is so user hostile! Marco Arment wrote an open request for better bookmarklet support in October of last year, hopefully this is something that will be resolved in iOS5. Bookmarklets are an important piece of the puzzle to extend the reach of both webapps and native apps on the platform.
requestAnimationFrame()would mean that:
The browser can optimize concurrent animations together into a single reflow and repaint cycle, leading to higher fidelity animation. For example, JS-based animations synchronized with CSS transitions. (via Paul Irish)
Essentially its better than using
Keyframe events for CSS3 Animations
Remote Debug API
This in my opinion could be the single biggest advance in webapp development! The new WebKit Remote Debugging API would allow for a fully featured inspector view of your app as it is deployed on the device. The Blackberry Playbook already supports this, I’d love to see iOS be the next to implement it.
Better support for
When AirPrint was introduced in iOS,
window.print()worked when used inside MobileSafari but not in a fullscreen webapp launching from the homescreen. Until this is fixed the only option is to write a native wrapper app to expose the print support to a