You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jstarry
changed the title
Public and Global reach for WebSocketService agent appears to fail
Public reach for WebSocketService agent appears to fail on Firefox
Jan 31, 2020
Description
I'm submitting a ...
A simple Yew app composed of a single app component and a single WebSocketService agent behaves incorrectly with
Public
andGlobal
reach.Expected Results
Agents with
Public
andGlobal
reach should behave as they do withContext
reach.Actual Results
Public
doesn't initiate a WebSocket connection using Firefox, yet it does with limited success using Safari and Chrome.Global
causes a panic in all three browsers.I've made a simple example to demonstrate the behavior.
cargo web start
to serve it from localhost.Reach
value.Context (Environment)
Rust: v1.30.0-nightly (721913067 2018-08-26)
yew: e6fc66e (latest master as of time of filing this issue)
target: wasm32-unknown-unknown
cargo-web: v0.6.15
Latest versions of Firefox, Safari, and Chrome
macOS
The text was updated successfully, but these errors were encountered: