Skip to content

Conversation

jpolitz
Copy link
Member

@jpolitz jpolitz commented Aug 1, 2025

Was #1788

Moved to a pyret-lang branch for quicker dev for me.

dbp and others added 10 commits June 27, 2025 12:47
OK, this is super weird. I'm not sure how this was working before, but it
certainly was, unless somehow node-canvas behaves differently in webviews than
in real browser tabs. Also I'm not sure how new-image-things ever passed on
Travis.

But it sure seems like node-canvas does not in fact provide an Image
constructor when run in-browser -- canvas.Image is clearly undefined and only
the default browser canvas APIs are there when we import it this way.

So, we have to do the polyfill bit ourselves and make sure `Image` is correctly
set up as the nonstandard canvas.Image from node-canvas when offline and to the
browser's window.Image in browsers
…ig-headers

To avoid potential clashes with different clients, it's better if the new spec
for these tuples is that the new field is at the end, and to allow the old or
new length.

Also pragmatically this avoids coming up with a good answer for gdrive-sheets
while still enjoying this runtime change for CSV loading.
@jpolitz jpolitz merged commit 551ded0 into horizon Aug 11, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants