[Webkit-unassigned] [Bug 253431] OffscreenCanvas missing WebGL support breaks all Construct 3 content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 10 03:18:30 PST 2023


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

--- Comment #10 from Ashley Gullen <ashley at scirra.com> ---
Actually, relying on c3runtime.js is tricky because it can sometimes load in the DOM or the worker depending on feature detection. The presence of a global variable on the main thread named window.c3_runtimeInterface would probably be a better way to detect our engine.

Further I'd point out that most developers refer to sources like MDN rather than the spec for documentation, and it wasn't previously clear from there that it was possible or allowed for mixed support for contexts between HTMLCanvasElement and OffscreenCanvas. Chrome 69 first added support for OffscreenCanvas in 2018, supporting both the 2D and WebGL contexts at launch, and Firefox 105 also added support for OffscreenCanvas last year supporting both the 2D and WebGL contexts at launch. So I would suggest that given there is over 4 years of web compatibility precedent for OffscreenCanvas to support all contexts or not be supported at all, perhaps one can understand why web developers would make that assumption, even if technically incorrect according to the spec, and perhaps there is other web content out there that will be affected for the same reason.

-- 
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/20230310/1eb36ffd/attachment.htm>


More information about the webkit-unassigned mailing list