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

Using develop.element.io for Element Web causes frames to nest the harness #6

Open
jryans opened this issue Dec 9, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@jryans
Copy link
Contributor

jryans commented Dec 9, 2021

While polishing up Patience yesterday, I encountered one of the stranger web behaviours I've seen in a while...

The clients are loaded into iframes inside the Patience test harness page. When Element Web tries to adjust the URL for going to a room (location.assign("#/room/!1234:matrix.org")), somehow the browser decides it should use the parent document (the test harness page) as the base URL, and nests a second copy of the test harness inside itself... 🤯

This was not happening a few months ago, so... that's going to be a strange one to sort out. 😵‍💫

It seems to reproduce consistently in Chrome, but only sometimes in Firefox.

It only seems to happen when using https://develop.element.io as the Element Web deployment. If I instead run Element Web locally, it works fine. So far, I've tried comparing HTTP headers and Element Web configs, but nothing seems to cause my local copy to behave like develop in this way.

@jryans jryans added the bug Something isn't working label Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant