简体   繁体   English

我需要担心吗? -“公开Chrome JS对象...”

[英]Do I need to Worry? - “Exposing chrome JS objects…”

I keep seeing the following error in Firebug but I do not understand what it means or if it is important: 我一直在Firebug中看到以下错误,但我不明白这是什么意思,或者它是否很重要:

Exposing chrome JS objects to content without __exposedProps__ is insecure and deprecated. 不使用__exposedProps__将chrome JS对象暴露给内容是不安全的,不建议使用。 See https://developer.mozilla.org/en/XPConnect_wrappers for more information. 有关更多信息,请参见https://developer.mozilla.org/en/XPConnect_wrappers

The link provided is a bit over my head. 提供的链接有点麻烦。

My questions are: 我的问题是:

  • Should I be concerned about this error on my website? 我应该担心我的网站上的此错误吗?
  • How do I prevent this error? 如何防止此错误?
  • Can someone explain the basics of what this means in layman's terms? 有人可以用外行的术语解释这意味着什么的基础吗?

According to this bug report with jQuery , it'll be an issue with FireQuery rather than anything you're doing. 根据这个有关jQuery的错误报告, FireQuery将是一个问题,而不是您正在做的任何事情。

Do you have FireQuery installed with Firebug? 您是否在Firebug中安装了FireQuery? If so, try disabling it and seeing if the error still happens. 如果是这样,请尝试将其禁用,然后查看错误是否仍然发生。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我是否需要担心Node.js中的并发修改? - Do I need to worry about Concurrent Modification in Node.js? 我是否应该担心清理Node.js中的大型对象或将其留给垃圾收集器? - Should I worry about cleaning up large objects in Node.js or leave it for the garbage collector? 我是否需要担心管理html5 localStorage的大小,还是会自动删除最近使用过的项目? - Do I need to worry about managing the size of html5 localStorage, or will least recently used items be automatically removed? 我什么时候需要担心 JavaScript 中的浮点错误? - When do I need to worry about floating-point error in JavaScript? 将本机JS对象的扩展暴露给打字稿? - Exposing extensions to native JS objects to typescript? 为什么在传递/公开EventEmitter的on函数时需要包装它? - Why do I need to wrap my EventEmitter's on function when passing/exposing it? Grunt构建不暴露我需要的全局变量 - Grunt build not exposing the globals I need 在JS模块中公开对象方法时,如何管理上下文? - How do I manage context when exposing object methods in JS modules? 我需要在对象中转换这个数组吗? - Do I need to convert this Array in Objects? 如何清除Chrome上的JS内存 - How do I clear the js memory on chrome
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM