2015-11-04 59 views

回答

4

这个错误可以忽略,该脚本将继续运行正常。这些是在Chrome 46(当前的稳定版本)中实施的两个新标志。如果你在不支持它们的浏览器中测试,你会看到这个错误(这实际上只是一个警告)。

allow-modals标志是必需的,因为默认情况下,Chrome会默认为block modal dialogs within a sandboxed iframe。添加此标志允许模块在您的应用程序脚本中工作。

allow-popups-to-escape-sandbox标志有点相似;其目的是为permit new windows to be created without them being subject to the same sandboxing restrictions