gabceb / atom-web-view

Package to open a web browser inside Atom
MIT License
52 stars 8 forks source link

Uncaught SecurityError: Blocked a frame with origin "file://" from accessing a cross-origin frame. #39

Open Kuvards opened 4 years ago

Kuvards commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.47.0 x64 Electron: 5.0.13 OS: Microsoft Windows 7 Professional Thrown From: web-view package 3.0.0

Stack Trace

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

At C:\Users\Administrator\.atom\packages\web-view\lib\web.coffee:75

Error: Blocked a frame with origin "file://" from accessing a cross-origin frame.
    at Object.reload (/packages/web-view/lib/web.coffee:75:60)
    at /packages/web-view/lib/web.coffee:27:36)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:349576)
    at Object.didConfirmSelection (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:694812)
    at SelectListView.confirmSelection (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:866372)
    at SelectListView.didClickItem (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:864314)
    at ListItemView.onclick (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:863304)
    at ListItemView.didClick (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:867392)

Commands

     -6:01.5.0 tree-view:add-file (ol.tree-view-root.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -5:51.8.0 core:backspace (input.hidden-input)
     -5:50.4.0 core:confirm (input.hidden-input)
     -5:16.7.0 command-palette:toggle (input.hidden-input)
     -5:07.4.0 application:open-dev (input.hidden-input)
     -4:48.7.0 command-palette:toggle (input.hidden-input)
     -4:40.4.0 web-view:toggle (input.hidden-input)
     -4:28.6.0 editor:consolidate-selections (iframe.)
     -4:27 command-palette:toggle (iframe.)
     -4:24.3.0 editor:consolidate-selections (input.hidden-input)
     -4:24.3.0 core:cancel (input.hidden-input)
  6x -2:33.1.0 core:backspace (input.hidden-input)
     -2:17.4.0 command-palette:toggle (iframe.)
     -2:13.9.0 web-view:reload (iframe.)

Non-Core Packages

atom-discord 2.0.2 
atom-live-server 2.3.0 
atom-live-server-plus 3.0.1 
autocomplete-unity 0.1.3 
cosmos-ui 0.1.1 
ide-html 0.6.0 
language-pawn 0.6.5 
web-view 3.0.0