Skip to content

Conversation

@Mintyboi
Copy link
Contributor

@Mintyboi Mintyboi commented Jul 27, 2023

For repro-ing issues in glfw code

Discussion in issue: #19912

To repro issues in glfw code
self.btest(test_file('browser/test_glfw3.c'), args=['-sUSE_GLFW=3', '-lglfw', '-lGL'] + args + opts, expected='1')

@requires_graphics_hardware
def test_glfw_events(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use @parameterized to run the test both with and without proxy-to-worker?

By the way are you actually using -sPROXY_TO_WORKER in your project in production? Or are you managing the worker yourself?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sbc100 I used to use the proxy_to_worker flag, but have since moved to managing the worker myself, referencing the codes that I require from proxyWorker.js.

I am also in the process of moving my app to use pthreads with the -sPROXY_TO_PTHREAD flag. Which has the same issue.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have an open issue for this? Can we link to it from the PR description here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I've tagged it in #19912 as well.

Use parameterized attribute to run different variants of tests
@sbc100
Copy link
Collaborator

sbc100 commented Aug 5, 2025

Are you still interested in landing this change?

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.

2 participants