Closed
Bug 359722
Opened 19 years ago
Closed 16 years ago
NPNetscapeFuncs size change handled non-backwards compatibly in npunix.c
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wbardwel, Unassigned)
Details
(Whiteboard: [closeme 2010-05-05])
Attachments
(1 file)
|
1.38 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060211 Fedora/1.0.7-1.3.fc3.legacy Firefox/1.0.7
Build Identifier:
The npunix.c file in ./modules/plugin/samples/default/unix/npunix.c has code which just fails if run under an older browser. It refuses to initialize the function table if the size of the table passed in is smaller than the size of the NPNetscapeFuncs. And the code unconditionally copies pushpopupsenabledstate and poppopupsenabledstate. This means that compiling a plugin with that makes a plugin that won't work under older browser
Reproducible: Always
Steps to Reproduce:
1. build a plugin against npunix.c
2. run under older browser (like FireFox 1.0)
3. have plugin fail to initialize.
Expected Results:
It should instead see if those functions are available, and if so copy them, if not don't.
| Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
This is a result of Bug 301052.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100413 Firefox/3.6.4
Please update if you are able to still reproduce with the latest nightly build ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
Whiteboard: [closeme 2010-05-05]
| Reporter | ||
Comment 4•16 years ago
|
||
It looks like the fix for Bug 301052 fixes this bug as well. (It looks Firefox 3.0 and newer have a npunix.c that is fixed.)
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•