Closed Bug 307879 Opened 19 years ago Closed 19 years ago

Nullplugin never stops loading

Categories

(Core Graveyard :: Plug-ins, defect, P1)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8beta5

People

(Reporter: Biesinger, Assigned: Biesinger)

References

()

Details

(Keywords: fixed1.8, regression)

Attachments

(1 file)

Steps to reproduce:
- Load http://biesi.damowmow.com/object/033.html
- observe that throbber doesn't stop, and that statusbar only shows ~50% done

I think that plugins code suspends the channel here and never resumes it...

bug 241592 should have fixed this, but it looks like that patch only changed
windows, not linux (nor mac, for that matter)

seamonkey linux gtk2 trunk, checkout finish: Sa Sep 10 13:12:00 CEST 2005
Attached patch patchSplinter Review
turns out that mac doesn't necessarily need any changes (since it just consumes
any number of bytes, so it doesn't have this bug)

with this page, I get three nullplugins on the testcase! that matches all the
other platforms and expected behaviour :-)
Attachment #195534 - Flags: superreview?(darin)
Attachment #195534 - Flags: review?(jst)
Blocks: 1156
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.8beta5
Comment on attachment 195534 [details] [diff] [review]
patch

r=jst
Attachment #195534 - Flags: review?(jst) → review+
Comment on attachment 195534 [details] [diff] [review]
patch

sr=darin
Attachment #195534 - Flags: superreview?(darin) → superreview+
Checking in modules/plugin/samples/default/unix/npshell.c;
/cvsroot/mozilla/modules/plugin/samples/default/unix/npshell.c,v  <-- 
npshell.cnew revision: 1.19; previous revision: 1.18
done
Checking in modules/plugin/samples/unixprinting/npshell.c;
/cvsroot/mozilla/modules/plugin/samples/unixprinting/npshell.c,v  <-- 
npshell.cnew revision: 1.3; previous revision: 1.2
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment on attachment 195534 [details] [diff] [review]
patch

makes it so that pages with the nullplugin actually finish loading. this does
not affect firefox (which doesn't use the nullplugin), but it improves the
behaviour for seamonkey on linux. low risk: similar code in the windows
nullplugin has worked fine for a long time.
Attachment #195534 - Flags: approval1.8b5?
Attachment #195534 - Flags: approval1.8b5? → approval1.8b5+
fixed on MOZILLA_1_8_BRANCH
Checking in modules/plugin/samples/default/unix/npshell.c;
/cvsroot/mozilla/modules/plugin/samples/default/unix/npshell.c,v  <--  npshell.c
new revision: 1.18.28.1; previous revision: 1.18
done
Checking in modules/plugin/samples/unixprinting/npshell.c;
/cvsroot/mozilla/modules/plugin/samples/unixprinting/npshell.c,v  <--  npshell.c
new revision: 1.2.28.1; previous revision: 1.2
done
Keywords: fixed1.8
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: