Bug 190465 - firefox seems to lack xEmbed support
Summary: firefox seems to lack xEmbed support
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 5
Hardware: powerpc
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-02 17:06 UTC by David Woodhouse
Modified: 2018-04-11 13:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-28 14:44:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 336607 0 None None None Never

Description David Woodhouse 2006-05-02 17:06:02 UTC
After installing the current version of gnash
(http://www.gnu.org/software/gnash/) I find it fails as follows:

"WARNING: No xEmbed support in this Mozilla version!"

Comment 1 David Woodhouse 2006-05-03 10:28:01 UTC
The sample code at
http://www.mozilla.org/projects/plugins/xembed-plugin-extension.html suggests
that you should use this code to detect XEmbed...

    PRBool supportsXEmbed = PR_FALSE;

    err = CallNPN_GetValueProc(gNetscapeFuncs.getvalue, NULL,
                               NPNVSupportsXEmbedBool,
                               (void *)&supportsXEmbed);

    if (err != NPERR_NO_ERROR || supportsXEmbed != PR_TRUE)
        return NPERR_INCOMPATIBLE_VERSION_ERROR;

This doesn't seem to work though. PRBool seems to be an int -- its size is 4
bytes. The CallNPN_GetValueProc() call sets only the first byte and leaves the
others untouched. So on a big-endian machine, supportsXEmbed gets set to
0x01000000, which != PR_TRUE.

Is this a bug in the documentation, or in our firefox?

Comment 2 Matěj Cepl 2007-07-18 17:30:03 UTC
Fedora Core 5 is no longer supported, could you please reproduce this with the
updated version of the currently supported distribution (Fedora Core 6, or
Fedora 7, or Rawhide)? If this issue turns out to still be reproducible, please
let us know in this bug report.  If after a month's time we have not heard back
from you, we will have to close this bug as CANTFIX.

Setting status to NEEDINFO, and awaiting information from the reporter.

Thanks in advance.


Comment 3 Matěj Cepl 2007-08-28 14:44:35 UTC
We haven't got any reply to the last question about reproducability of the bug
with Fedora Core 6, Fedora 7, or Fedora devel. Mass closing this bug, so if you
have new information that would help us fix this bug, please reopen it with the
additional information.


Note You need to log in before you can comment on or make changes to this bug.