matrix-org / patience

Full stack integration testing for Matrix clients and servers
Apache License 2.0
18 stars 3 forks source link

Hydrogen service worker confuses multiple client instances #3

Open jryans opened 3 years ago

jryans commented 3 years ago

The Hydrogen service worker causes general confusion when running multiple instances at the same time like Patience does, since all instances hear what the others are doing.

We'll need to do at least one of:

We are already attempting the hack approach:

https://github.com/matrix-org/patience/blob/a255dcea0adc4c98aab8948697efd43e40e13929/core/api/adapters/hydrogen.ts#L155-L170

...but it seems to only work in Firefox. Recent Chrome appears to run the frame's document before the hack has a chance to mess with things.