Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Apr 25, 2025

This is similar to what we already did for pthreads (#24163) and normal wasm workers (#24163). By integrating this file we can actually share more startup code with normal wasm workers.

@sbc100 sbc100 requested a review from juj April 25, 2025 16:36
@sbc100 sbc100 force-pushed the audio_worklets_single_file branch 5 times, most recently from 40e91c1 to 8b50f40 Compare April 25, 2025 16:45
@sbc100 sbc100 requested review from RReverser and kripken April 25, 2025 16:46
@sbc100 sbc100 force-pushed the audio_worklets_single_file branch from 8b50f40 to 4a7af60 Compare April 25, 2025 16:47
@cwoffenden
Copy link
Contributor

This is awesome, thanks for taking the time to do this. I'll try to look at it next week.

@sbc100 sbc100 force-pushed the audio_worklets_single_file branch from 4a7af60 to dac37b0 Compare April 25, 2025 17:11
@sbc100 sbc100 force-pushed the audio_worklets_single_file branch 3 times, most recently from a338a78 to 4b96785 Compare April 25, 2025 19:09
@sbc100 sbc100 force-pushed the audio_worklets_single_file branch 4 times, most recently from e5af49e to d1ed5fb Compare April 28, 2025 04:18
sbc100 added a commit to sbc100/emscripten that referenced this pull request Apr 28, 2025
I want to get baseline before landing emscripten-core#24190
sbc100 added a commit to sbc100/emscripten that referenced this pull request Apr 28, 2025
I want to get baseline before landing emscripten-core#24190
@sbc100 sbc100 force-pushed the audio_worklets_single_file branch from d1ed5fb to 760e1c1 Compare April 28, 2025 16:45
sbc100 added a commit that referenced this pull request Apr 28, 2025
I want to get baseline before landing #24190
@sbc100 sbc100 force-pushed the audio_worklets_single_file branch from 760e1c1 to 391d3c9 Compare April 28, 2025 17:04
@sbc100 sbc100 force-pushed the audio_worklets_single_file branch 3 times, most recently from 3325e6b to 0f6a8a1 Compare April 28, 2025 17:14
sbc100 added a commit to sbc100/emscripten that referenced this pull request Apr 28, 2025
I'm having some trouble getting this test to pass in emscripten-core#24190 and even
having trouble getting to pass on my desktop.
@sbc100 sbc100 force-pushed the audio_worklets_single_file branch from 0f6a8a1 to 30b5ac8 Compare April 28, 2025 20:38
sbc100 added a commit that referenced this pull request Apr 29, 2025
I'm having some trouble getting this test to pass in #24190 and even
having trouble getting to pass on my desktop.
@sbc100 sbc100 force-pushed the audio_worklets_single_file branch from 30b5ac8 to f047d96 Compare April 29, 2025 04:57
sbc100 added a commit that referenced this pull request Apr 29, 2025
At least under chrome it seems that the main thread doesn't run at all
until the first few frames have been produced.

This fixes the test failures I've been seeing while working on #24190
@sbc100 sbc100 force-pushed the audio_worklets_single_file branch from f047d96 to 4e95564 Compare April 29, 2025 18:31
This is similar to what we already did for pthreads (emscripten-core#24163) and normal
wasm workers (emscripten-core#24163).  By integrating this file we can actually share
more startup code with normal wasm workers.
@sbc100 sbc100 force-pushed the audio_worklets_single_file branch from 4e95564 to abd575b Compare April 29, 2025 18:49
@sbc100
Copy link
Collaborator Author

sbc100 commented Apr 29, 2025

Ok, I think this is ready to land now. Hopefully the tests will pass..

@sbc100 sbc100 merged commit 23c0a97 into emscripten-core:main Apr 29, 2025
26 of 28 checks passed
@sbc100 sbc100 deleted the audio_worklets_single_file branch April 29, 2025 21:05
sbc100 added a commit to sbc100/emscripten that referenced this pull request May 1, 2025
sbc100 added a commit that referenced this pull request May 1, 2025
juj added a commit that referenced this pull request Aug 15, 2025
…WorkerGlobalScope.name parameter. (#24933)

Way back I recall I did not want to target Worker's `name` parameter
given it had browser version requirements, and listed to be a [debugging
feature](https://html.spec.whatwg.org/multipage/workers.html#dom-worker-dev).

Though now that we have crossed that line, update minimum browser
version feature matrix to require `name` support (e.g. after #24190),
up[date the minimum required browser versions to highlight this fact.

We could maintain separate min required versions for singlethreaded and
multithreaded builds, although given that the minimum browser version
bump here is relatively small, probably no bother.

Although the version bump does mean that Emscripten does no longer
support iPhone 5 devices. Fortunately they are very old by now, so
practically absent.
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