replugged-org/replugged

Crash when opening settings or a user profile when there's a Spotify embed or a playing YouTube video in chat

Closed this issue · 2 comments

Describe the bug

DOMException: Blocked a frame with origin "https://ptb.discord.com" from accessing a cross-origin frame.
image
image

Reproduction steps

  1. Send some YouTube link (tested with https://youtu.be/u1xrNaTO1bI and https://www.youtube.com/watch?v=uRhmus2BdKc)
  2. Play it
  3. Open Settings
  4. DOMException: Blocked a frame with origin "https://ptb.discord.com" from accessing a cross-origin frame.

Expected behavior

Discord shouldn't crash

Actual behavior

Discord crashed

Additional information

image
image
Same behavior without any plugins

Please confirm the following

  • I checked if Discord and Replugged are up to date
  • I made sure this is not related to an external plugin or a theme
  • I searched the issues to make sure this bug has not been reported before.

Also happens when opening profiles that are currently listening to Spotify

Having a spotify embed in chat works in place of a YT video playing. I think the webpack finder is trying to access the other frames for some reason which is triggering the error.