Post #3579498
2026-04-27 15:21 UTC
I spend an evening trying to understand what was going on without finding a clue on internet. What was very strange is that the examples I found worked very well. So the issue was from my side 100%. The issue was of course very silly. I got the habit to write `return 1` instead of `return true` at the end of my process function, which works fine on Firefox but not on Chrome. But why ? `true == 1` is valid on both browsers. (2/2)
Replies (1)
-
@despens@post.lurk.org 2026-04-27 15:32
@adelfaure@mastodon.art Perhaps Chrome does a === check of the return value, and Firefox is alright with ==?