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

Crash when mutating referenced SVG box #3302

Closed
Gingeh opened this issue Jan 19, 2025 · 1 comment
Closed

Crash when mutating referenced SVG box #3302

Gingeh opened this issue Jan 19, 2025 · 1 comment

Comments

@Gingeh
Copy link
Contributor

Gingeh commented Jan 19, 2025

Reproduction (load this and move your cursor over the window):

<svg>
  <symbol id="foo"></symbol>
  <use href="#foo"></use>
</svg>
<script>
document.querySelector("symbol").setAttribute("id","bar");
location.reload(true);
</script>

Reduced from https://mastodon.social/
Bisected to e5d521b (#3274)

This appears to be a race condition.

@Gingeh Gingeh closed this as completed Jan 19, 2025
@Gingeh
Copy link
Contributor Author

Gingeh commented Jan 19, 2025

Fixed in #3305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant