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

Content Preview DOMException: Blocked a frame with origin ... from accessing a cross-origin frame #43

Closed
isemog opened this issue Nov 24, 2022 · 1 comment

Comments

@isemog
Copy link
Contributor

isemog commented Nov 24, 2022

I'm trying to use content preview with Cockpit V2 but I always get the folowing error:

DOMException: Blocked a frame with origin "https://cockpit-pro" from accessing a cross-origin frame.
at gt (https://cockpit-pro/modules/App/assets/app.bundle.js?ver=2.3.3:4:12122)
at Object.set (https://cockpit-pro/modules/App/assets/app.bundle.js?ver=2.3.3:4:8176)
at Object.set (https://cockpit-pro/modules/App/assets/app.bundle.js?ver=2.3.3:4:31838)
at Proxy.iframeReady (https://cockpit-pro/modules/System/assets/dialogs/content-preview.js?v=2.3.3:130:25)
at onLoad (eval at eu (https://cockpit-pro/modules/App/assets/app.bundle.js?ver=2.3.3:4:120495), :113:26)
at Lt (https://cockpit-pro/modules/App/assets/app.bundle.js?ver=2.3.3:4:14407)
at jt (https://cockpit-pro/modules/App/assets/app.bundle.js?ver=2.3.3:4:14487)
at HTMLIFrameElement.n (https://cockpit-pro/modules/App/assets/app.bundle.js?ver=2.3.3:4:63771)

It seems an error while getting the iframe element, but I don't have any clue why, anyway to fix this?

@aheinze
Copy link
Collaborator

aheinze commented Nov 27, 2022

Fixed in 2.3.4!

@aheinze aheinze closed this as completed Nov 27, 2022
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

2 participants