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

Vue devtools raises an exception when something has been added to an iframe #1483

Closed
kemyd opened this issue Jun 13, 2021 · 2 comments
Closed

Comments

@kemyd
Copy link

kemyd commented Jun 13, 2021

Version

6.0.0-beta.14

Browser and OS info

Chrome (all)

Steps to reproduce

Vue Devtools raises an exception when something has been added to an iframe.

  1. Install the latest version of devtools 6.0.0 - beta14
  2. Go to https://shuffle.dev/editor (no registration is required)
  3. Drag any component from the left menu to a browser mockup.

What is expected?

No errors :)

What is actually happening?

When a component is dropped on browser mockup (iframe), the extension raises this error:

2VM212:1 Uncaught DOMException: Blocked a frame with origin "https://shuffle.dev" from accessing a cross-origin frame.
at e (:1:218)
at HTMLIFrameElement. (:1:432)


This started to occur on June 9th, so when you released the latest version.

@kemyd kemyd changed the title Vue devtools Vue devtools raises an exception when something has been added to an iframe Jun 13, 2021
@zigomir
Copy link
Contributor

zigomir commented Jun 15, 2021

I reported the same in #1481 and then I thought it's not vue-devtools's problem. But now I'm more convinced that it is. I can only reproduce error when vue-devtools are installed and enabled in Chrome browser.

Also looking at our Sentry errors I can see that this error only ever happened to our developers who are using the extension.

@CalebKester
Copy link

I also run into this issue on windows chrome.

image

@Akryum Akryum added the v6 label Jun 16, 2021
@Akryum Akryum closed this as completed in e59521c Jun 18, 2021
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

4 participants