Hi all!
As far as I know, currently it is not possible to disable cross-origin resource sharing restrictions in mobile safari. It would be great if this could be implemented or if someone knows how to do this. This would be an incredibly useful feature for automated testing of web applications on mobile Safari.
Currently some of our tests are blocked by not being able to access the elements inside an iframe because of the cross-origin resource sharing restrictions in mobile Safari. These tests work for all of our target platforms except for mobile Safari. If we were to be able to disable cross-origin resource sharing in a simulated iPhone that would be really helpful.
I look forward to hearing some people's views. Perhaps other people have had similar problems of not being able to access the inside of iframes in automated tests in mobile Safari.