Closed Bug 648887 Opened 13 years ago Closed 13 years ago

Make imgIDecoderObserver non-scriptable

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: khuey, Unassigned)

References

Details

I would like to make imgIDecoderObserver non-scriptable.  The only scriptable use in the tree is for a test, and it would let us fix Bug 604841 and similar issues.
(khuey and I just talked about this on IRC)

I don't think we should be noscript-ing interfaces (and reducing test coverage) just because XPConnect exposes too much stuff to content. I'd be happy to work on this XPConnect-side in august.

I vote WONTFIX. Joe, thoughts?
Extensions use this interface, fwiw.
I had someone run a search of the addons MXR a while back and they told me there wasn't anything, but if people are actually using this I guess this is WONTFIX.
The scriptable-ness is absolutely essential for very important tests. I'd r+ a DEBUG-only scriptability, but not a wholesale removal.
(In reply to comment #4)
> The scriptable-ness is absolutely essential for very important tests. I'd r+ a
> DEBUG-only scriptability, but not a wholesale removal.

We run tests on release builds too, no?

Resolving WONTFIX.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.