[Webkit-unassigned] [Bug 229706] New: WebWorker events sometimes don't reach the main thread.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 31 03:24:43 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=229706

            Bug ID: 229706
           Summary: WebWorker events sometimes don't reach the main
                    thread.
           Product: WebKit
           Version: Safari 14
          Hardware: iPhone / iPad
                OS: iOS 14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: michael.herzog at human-interactive.org

The following example pages decodes a texture in a web worker, transfers the result into the main thread via "postMessage()" and then renders the result on a plane.

https://threejs.org/examples/webgl_loader_texture_basis

Expected behavior: The texture is always rendered correctly.

Actual behavior: Sometimes the plane is white since no texture is applied. This only happens sporadicly (maybe one out of ten reloads).

A user at GitHub found out that the root cause of this issue is a missing message from the worker. Meaning the worker sends the message but it never reaches the main thread.

https://github.com/mrdoob/three.js/issues/19717#issuecomment-653581829

This issue only happens in WebKit based browsers on iOS, iPadOS and macOS.

According to the comments at GitHub the example used to work consistently in earlier version of Safari (meaning < 14).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210831/9e7824d2/attachment.htm>


More information about the webkit-unassigned mailing list