문제

I cannot make an instance of Worker on Mobile Safari on an iPad with OS 4.2x

This is a very common and well-known HTML5 Web Worker demo: http://html5demos.com/worker

When I try to run I get the error ReferenceError: Can't find variable: Worker

This demo works fine on desktop Safari. My understanding was that with OS 4.2x that HTML5 Web Workers would be supported on mobile safari. Does anyone know different?

도움이 되었습니까?

해결책

At the moment WebWorkers are against Apple's policy on JavaScript runtimes. Even if it were supported it would be thrown out after 10 seconds as the maximum, non-blocking runtime.

다른 팁

According to caniuse.com, it's not yet supported

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top