sunqibuhuake / atom-miku

【atom插件】来自异次元的程序猿鼓励师Miku
MIT License
370 stars 56 forks source link

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

Open xioayangge opened 2 years ago

xioayangge commented 2 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.58.0 x64 Electron: 9.4.4 OS: Unknown Windows version Thrown From: atom-miku package 2.2.5

Stack Trace

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

At C:\Users\AAA\.atom\packages\atom-miku\lib\miku-view.js:198

Error: Blocked a frame with origin "file://" from accessing a cross-origin frame.
    at MikuView.module.exports.MikuView.pause (/packages/atom-miku/lib/miku-view.js:198:36)
    at Object.toggle (/packages/atom-miku/lib/main.js:72:28)
    at /packages/atom-miku/lib/main.js:33:34)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:352326)
    at KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:1227728)
    at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:1223862)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:286651)

Commands

Non-Core Packages

atom-miku 2.2.5 
laravel 0.7.1