Closed
Bug 1137897
Opened 10 years ago
Closed 10 years ago
nsPluginTag::GetMimeTypes fails with NS_ERROR_NOT_AVAILABLE if mMimeTypes has no item.
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(firefox39 fixed)
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: arai, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Wacom Pressure Plug-In Ver 2.1.0-1 (/Library/Internet Plug-Ins/WacomNetscape.plugin) has no MIME-Types, and it causes following error:
> NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIPluginTag.getMimeTypes]
it's shown everytime when I open Plugins tab in Add-ons Manager.
Also, about:plugins returns empty page due to the error.
Reporter | ||
Comment 1•10 years ago
|
||
bug 1136379 comment #2
> >+CStringArrayToXPCArray(nsTArray<nsCString> & aArray,
> >+ if (!count) {
> >+ return NS_ERROR_NOT_AVAILABLE;
>
> That's a behavior change... Maybe it's OK.
Unfortunately, that was not OK :/
Blocks: 1136379
Reporter | ||
Comment 2•10 years ago
|
||
Attachment #8570706 -
Flags: review?(bzbarsky)
Comment 3•10 years ago
|
||
Comment on attachment 8570706 [details] [diff] [review]
Do not throw exception from nsPluginTag::GetMimeTypes if a plug-in has no MIME-Types.
r=me, and thank you!
Attachment #8570706 -
Flags: review?(bzbarsky) → review+
Reporter | ||
Comment 4•10 years ago
|
||
Thank you for reviewing! :D
https://hg.mozilla.org/integration/mozilla-inbound/rev/9dcb4e943594
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•