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

Blocked a frame with origin "file://" from accessing a cross-origin frame. #3693

Closed
odboy opened this issue Sep 2, 2020 · 3 comments
Closed
Labels
bug It's a bug desktop All desktop platforms stale An issue that hasn't been active for a while...

Comments

@odboy
Copy link

odboy commented Sep 2, 2020

Environment

Joplin version: Joplin 1.0.233(prod, win32)
Platform: Windows 10
OS specifics:

Steps to reproduce

paste /etc/hosts in search bar

Describe what you expected to happen

just search the string

Logfile

Error
Joplin encountered a fatal error and could not continue. To report the error, please copy the *entire content* of this page and post it on Joplin forum or GitHub.

Message
Blocked a frame with origin "file://" from accessing a cross-origin frame.

Stack trace
Error: Blocked a frame with origin "file://" from accessing a cross-origin frame.
    at NoteTextViewerComponent.destroyWebview (C:\Users\admin\AppData\Local\Programs\Joplin\resources\app.asar\gui\NoteTextViewer.min.js:81:42)
    at NoteTextViewerComponent.componentWillUnmount (C:\Users\admin\AppData\Local\Programs\Joplin\resources\app.asar\gui\NoteTextViewer.min.js:103:8)
    at callComponentWillUnmountWithTimer (C:\Users\admin\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:19866:12)
    at HTMLUnknownElement.callCallback (C:\Users\admin\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:347:14)
    at Object.invokeGuardedCallbackDev (C:\Users\admin\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:397:16)
    at invokeGuardedCallback (C:\Users\admin\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:454:31)
    at safelyCallComponentWillUnmount (C:\Users\admin\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:19873:5)
    at commitUnmount (C:\Users\admin\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:20293:11)
    at commitNestedUnmounts (C:\Users\admin\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:20349:5)
    at unmountHostComponents (C:\Users\admin\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:20645:7)
Component stack

    in NoteTextViewerComponent (created by Connect(NoteTextViewerComponent))
    in Connect(NoteTextViewerComponent) (created by ForwardRef(AceEditor))
    in div (created by ForwardRef(AceEditor))
    in div (created by ForwardRef(AceEditor))
    in div (created by ForwardRef(AceEditor))
    in ForwardRef(AceEditor) (created by NoteEditor)
    in div (created by NoteEditor)
    in div (created by NoteEditor)
    in div (created by NoteEditor)
    in NoteEditor (created by Connect(NoteEditor))
    in Connect(NoteEditor) (created by MainScreenComponent)
    in div (created by MainScreenComponent)
    in MainScreenComponent (created by Connect(MainScreenComponent))
    in Connect(MainScreenComponent) (created by NavigatorComponent)
    in div (created by NavigatorComponent)
    in NavigatorComponent (created by Connect(NavigatorComponent))
    in Connect(NavigatorComponent) (created by RootComponent)
    in RootComponent (created by Connect(RootComponent))
    in Connect(RootComponent)
    in ErrorBoundary
    in Provider
@odboy odboy added the bug It's a bug label Sep 2, 2020
@laurent22 laurent22 added desktop All desktop platforms high High priority issues labels Sep 2, 2020
@laurent22
Copy link
Owner

I cannot replicate this bug, but it might be due to one of your notes that contain the string "/etc/hosts" or maybe just the strings "etc" and "hosts" separately. To see if I can replicate the issue please could you try to find this note and copy and paste the Markdown content here?

@laurent22 laurent22 removed the high High priority issues label Sep 7, 2020
@stale
Copy link

stale bot commented Oct 8, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Oct 8, 2020
@stale
Copy link

stale bot commented Oct 15, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug desktop All desktop platforms stale An issue that hasn't been active for a while...
Projects
None yet
Development

No branches or pull requests

2 participants