Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public reach for WebSocketService agent appears to fail on Firefox #402

Closed
kellytk opened this issue Sep 14, 2018 · 3 comments
Closed

Public reach for WebSocketService agent appears to fail on Firefox #402

kellytk opened this issue Sep 14, 2018 · 3 comments

Comments

@kellytk
Copy link
Contributor

kellytk commented Sep 14, 2018

Description

I'm submitting a ...

  • bug report

A simple Yew app composed of a single app component and a single WebSocketService agent behaves incorrectly with Public and Global reach.

Expected Results

Agents with Public and Global reach should behave as they do with Context 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.

  1. Clone/download and run cargo web start to serve it from localhost.
  2. Modify the Reach value.
  3. (Optional) Point it to a WebSocket server to verify the code functions correctly otherwise.

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

@hgzimmerman
Copy link
Member

To narrow the scope of this issue, the Global reach shouldn't be investigated because it hasn't been implemented at all.

@samuelvanderwaal
Copy link
Contributor

Missing label:

  • bug

@jstarry
Copy link
Member

jstarry commented Jan 31, 2020

@kellytk could you please check to see if you still see issues on Firefox for Public agents? Global agents aren't implemented yet as per #283

@jstarry 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
@kellytk kellytk closed this as completed Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants