ReferenceError: OffscreenCanvas is not defined

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
saintrain
New to the forum
New to the forum
Posts: 2
Joined: 2024-10-05, 21:28

ReferenceError: OffscreenCanvas is not defined

Unread post by saintrain » 2024-10-05, 21:34

Hi!
Just started palemoon; testing with old code

OffscreenCanvas works fine in firefox, errs in palemoon

Is this expected, or do I have to turn something on/off?

Thanks
Doug

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37756
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: ReferenceError: OffscreenCanvas is not defined

Unread post by Moonchild » 2024-10-06, 00:02

We do not support OffScreenCanvas (and there are currently no plans to implement it as it is complex and wrought with potential security issues due to the decoupling of canvas from the DOM).
"old code" should not be using OffScreenCanvas, as it is a new Web feature. Unless you call one year "old"?
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
saintrain
New to the forum
New to the forum
Posts: 2
Joined: 2024-10-05, 21:28

Re: ReferenceError: OffscreenCanvas is not defined

Unread post by saintrain » 2024-10-11, 00:01

Thanks
Doug