Closed Bug 576121 Opened 15 years ago Closed 8 years ago

imgIDecoderObserver methods visible as JS properties on img elements

Categories

(Core :: XPConnect, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bholley, Unassigned)

References

(Depends on 1 open bug)

Details

I can reproduce this on both 3.6 and trunk with a clean profile (+firebug). This may be an issue with the way firebug is hooking in to things, or it may be a more real bug. Steps to reproduce: www.google.com Activate firebug Right click on google logo, inspect element Activate the DOM tab on the right Scroll down to the green+bold items There are a number of methods of the form OnStop* and OnStop* which are imgIDecoderObserver methods: http://mxr.mozilla.org/mozilla-central/source/modules/libpr0n/public/imgIDecoderObserver.idl My understanding is that they shouldn't be there.
They'll be there as soon as script somewhere QIs the image to imgIDecoderObserver... Presumably Firebug is doing just that.
It also happens with the DOM inspector (and no firebug). I think the DOM inspector would be less likely to be QI-ing the image, no?
Seems so, yes. That just does a for/in loop, iirc....
I just tried this again and can't reproduce it. Bobby, can you still reproduce this?
(In reply to comment #4) > I just tried this again and can't reproduce it. Bobby, can you still reproduce > this? I can reproduce it. I tested 2 configurations: 1-ff3.6, production firebug, clean profile 2-ff4b12, firebug 1.7a11, clean profile I'm on OSX 10.6.
Taking. I'm working on xpconnect now, so I can scratch my own itch!
Assignee: nobody → bobbyholley+bmo
This is just going to go away with the new DOM bindings.
Assignee: bobbyholley+bmo → nobody
Depends on: ParisBindings
This has been fixed ever since bug 825527 got fixed. Also, imgIDecoderObserver is gone and imgINotificationObserver only has noscript methods.
Status: NEW → RESOLVED
Closed: 8 years ago
Depends on: 825527
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.