Skip to main content

Bug Tracker

Side navigation

#12470 closed bug (invalid)

Opened September 05, 2012 07:32PM UTC

Closed September 07, 2012 12:30PM UTC

Last modified October 04, 2012 01:47AM UTC

Exposing chrome JS objects to content without __exposedProps__ is insecure and deprecated.

Reported by: rudeboiidevil2k7@hotmail.co.uk Owned by: rudeboiidevil2k7@hotmail.co.uk
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:
Description

I am getting an error logged in Firebug in an hover event, but the problem is in jQuery, I am using Firefox 15.0 on Mac OS X Lion.

Exposing chrome JS objects to content without __exposedProps__ is insecure and deprecated. See https://developer.mozilla.org/en/XPConnect_wrappers for more information.

Which is on line 322, in jQuery 1.8.1. I don't know why this is being logged in Firebug.

Attachments (0)
Change History (10)

Changed September 06, 2012 02:03PM UTC by timmywil comment:1

owner: → rudeboiidevil2k7@hotmail.co.uk
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery git("edge") version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/. Open the link and click to "Fork" (in the top menu) to get started.

Changed September 06, 2012 08:16PM UTC by sami comment:2

I see this as well.

Changed September 06, 2012 08:22PM UTC by dmethvin comment:3

Great sami! Can you post the requested test case? That would help us a lot.

Changed September 06, 2012 09:14PM UTC by ben comment:4

I'm trying to create a test case for you, but I'm not sure where in a lot of detailed code this error is being triggered, and Firebug's stack trace just produces an unhelpful reference to minified JQuery. Any hints as to how to track down the call that generates the error?

Changed September 06, 2012 09:17PM UTC by dmethvin comment:5

Well, the message itself seems to indicate it may be coming from a plugin. So I'd suggest you run with all plugins disabled and see if it goes away.

http://support.mozilla.org/en-US/kb/troubleshoot-issues-with-plugins-fix-problems

If it's a plugin then you'd need to contact them.

Changed September 07, 2012 07:56AM UTC by emilper@gmail.com comment:6

no, it's not from plugins: is is something about the Ajax calls

I get these

Timestamp: 09/07/2012 10:49:03 AM

Error: Exposing chrome JS objects to content without __exposedProps__ is insecure and deprecated. See https://developer.mozilla.org/en/XPConnect_wrappers for more information.

Source File: chrome://mozapps/content/downloads/unknownContentType.xul

Line: 1

even when no plugin is installed, when doing Ajax calls

Changed September 07, 2012 10:53AM UTC by mata987@gmail.com comment:7

Seams that it is a problem with FireQuery add-on for Firefox, and not jQuery.

More info on the following link:

https://blog.mozilla.org/addons/2012/08/20/exposing-objects-to-content-safely/

Changed September 07, 2012 12:30PM UTC by dmethvin comment:8

resolution: → invalid
status: pendingclosed

Yeah, a plugin.

Changed October 02, 2012 01:36PM UTC by dmethvin comment:9

#12637 is a duplicate of this ticket.

Changed October 04, 2012 01:47AM UTC by dmethvin comment:10

#12637 is a duplicate of this ticket.