Skip to content

Commit 35b6c64

Browse files
authored
Add a comment about why this special case is needed.
1 parent 486bd2b commit 35b6c64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Python/emscripten_trampoline.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ EM_JS(CountArgsFunc, _PyEM_GetCountArgsPtr, (), {
7171
// )
7272

7373
function getPyEMCountArgsPtr() {
74+
// Starting with iOS 18.3.1, WebKit on iOS has an issue with the garbage
75+
// collector that breaks the call trampoline. See #130418 and
76+
// https://bugs.webkit.org/show_bug.cgi?id=293113 for details.
7477
let isIOS = globalThis.navigator && (
7578
/iPad|iPhone|iPod/.test(navigator.userAgent) ||
7679
// Starting with iPadOS 13, iPads might send a platform string that looks like a desktop Mac.

0 commit comments

Comments
 (0)