You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught DOMException: Blocked a frame with origin "null" from accessing a cross-origin frame.
at HTMLIFrameElement.iframe.onload (/javascript-development/reveal.js/node_modules/reveal.js-d3js/d3js.js:38:42)
That issue only occurs when you're trying to load the javascript from the file system, it wont happen when the site is hosted. In the short term in order to debug locally you can use python to fire up a simple webserver in the current directory: python -m SimpleHTTPServer and browse to localhost:8000
And for security's sake, you'll probably want to re-enable the same origin policy in Chrome.
There is an issue trying to use the example.
I have read this post: https://stackoverflow.com/questions/25098021/securityerror-blocked-a-frame-with-origin-from-accessing-a-cross-origin-frame
and this:
https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome
In order to run the program.
However I think it could be a potential security bug.
What do you suggest to fix them without change the browser behavior?
The text was updated successfully, but these errors were encountered: