]> Cypherpunks repositories - gostls13.git/commit
runtime, internal/synctest, syscall/js: keep bubble membership in syscalls
authorDamien Neil <dneil@google.com>
Fri, 22 Nov 2024 01:32:22 +0000 (17:32 -0800)
committerGopher Robot <gobot@golang.org>
Fri, 22 Nov 2024 16:21:27 +0000 (16:21 +0000)
commita8eddaf758c15404acbfe61af0739b6d099f2067
treeed4f927f4fd004287314429dd49ceb980a8cbff1
parent00709919d09904b17cfe3bfeb35521cbd3fb04f8
runtime, internal/synctest, syscall/js: keep bubble membership in syscalls

Propagate synctest bubble membership through syscall/js.Func
functions. Avoids panics from cross-bubble channel operations
in js syscalls.

Fixes #70512

Change-Id: Idbd9f95da8bc4f055a635dfac041359f848dad1a
Reviewed-on: https://go-review.googlesource.com/c/go/+/631055
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Damien Neil <dneil@google.com>
src/go/build/deps_test.go
src/internal/synctest/synctest.go
src/runtime/synctest.go
src/syscall/js/func.go