Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web: Add swf-tests package, for running the swf test suite in a browser #15243

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dinnerbone
Copy link
Contributor

No way to run this automatically yet - but I decided I could iterate on this indefinitely, but it'd already be useful in this form today. I'll follow up in future PRs, but at least this won't bit rot if it lands in the repo.

This is part of a larger effort to eventually get webgl (and maybe canvas) tested, so we can start making those more stable and feature complete.

This tool has already found some bugs, which have been fixed so far (mostly 32-bit vs 64-bit ByteArray stuff)

Example is at https://dinnerbone.github.io/ruffle-swf-tests-on-web/

@Dinnerbone Dinnerbone force-pushed the test_on_web branch 2 times, most recently from 8340691 to 9fbe1e5 Compare February 16, 2024 17:42
@torokati44
Copy link
Member

torokati44 commented Feb 19, 2024

Top is Firefox, bottom is Chrome, on the same (Linux) machine:
image

EDIT: I thought it has to be some WebGL rendering difference (most of the visual tests fail anyway, even on desktop OpenGL...), but no, it's the /avm2/timer test not being deterministic, even within the same browser.

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.

None yet

2 participants