]> Cypherpunks repositories - gostls13.git/commit
syscall/js: remove Wrapper interface
authorRichard Musiol <mail@richard-musiol.de>
Sat, 16 Oct 2021 15:17:21 +0000 (17:17 +0200)
committerRichard Musiol <neelance@gmail.com>
Mon, 18 Oct 2021 21:21:54 +0000 (21:21 +0000)
commit6c0daa733192031eab23d09ed6515c4cd959aa92
tree4080e872deadc7928262baaa798c2f15f7f38e48
parent267abbe3ba9dda96a8694e8aad8892e3ba2be60e
syscall/js: remove Wrapper interface

This change removes the js.Wrapper interface for performance reasons.
See proposal #44006 for details.

This is a breaking change, but syscall/js is exempt from Go's
compatibility promise.

Fixes #44006

Change-Id: I968cd14b1e61cc72ea9f84240b6bd29e8b8ae673
Reviewed-on: https://go-review.googlesource.com/c/go/+/356430
Trust: Richard Musiol <neelance@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
src/syscall/js/func.go
src/syscall/js/js.go