8000 Worker's setTimeout doesn't work in Safari with open dev tools · Issue #2056 · cometd/cometd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Worker's setTimeout doesn't work in Safari with open dev tools #2056
Open
@dm-koval

Description

@dm-koval

CometD version(s)
8.0.7

Java version & vendor (use: java -version)
unrelated (only client issue)

Description
Hello dear maintainers and thank you for such a great tool!
It seems to be an issue with the execution of Worker's setTimeout in Safari(18.3.1) with opened dev tools.
The issue is, the setTimeout function is not called so the initialization of the connection can not be completed.
With "useWorkerScheduler=true" we do not see the debug message "Invoking timed function", once dev tools are closed and opened again, we can see that the setTimeout continues the execution. But without closing them the connection stuck endlessly.
With "useWorkerScheduler=false" the issue does not reproduce.

How to reproduce?
Use desktop Safari(18.3.1) with open dev tools.
Start connection to the server
Handshake proceeds but connect not

This part of log is what we see before reopening dev tools, the log does not change until reopen
Image

The log after reopen
Image

Thank you for any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0