in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'
解决方案
/*弹出窗口*/ function getWin(URL, name) { var bschitchat = window.open(URL, name, 'toolbar=no,menubar=no,scrollbars=auto,resizeable=no,location=no,status=no'); bschitchat.moveTo(0, 0); bschitchat.resizeTo(screen.availWidth, screen.availHeight); bschitchat.outerWidth = screen.availWidth; bschitchat.outerHeight = screen.availHeight; }
Done!