Closed
Bug 770864
Opened 12 years ago
Closed 12 years ago
NPAPI stream destroyed with reason NPRES_NETWORK_ERR when the user leaved the page.
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla20
People
(Reporter: mmakrai, Assigned: gfritzsche)
Details
Attachments
(1 file, 1 obsolete file)
1.09 KB,
patch
|
gfritzsche
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11 Steps to reproduce: I opened a page that contains my NPAPI plugin and I did not wait for receiving the stream but I navigated to the previous page or pressed the stop button. Actual results: The NPP_DestroyStream function was called with reason NPRES_NETWORK_ERR. Expected results: I think the NPP_DestroyStream function should be called with reason NPRES_USER_BREAK in this case.
This is the patch proposed to me in an email from the reporter. Seems fine at a glance. If anything I'd just be worried about backwards compatibility, but that probably isn't an issue.
Attachment #643078 -
Flags: review?(georg.fritzsche)
Component: Untriaged → Plug-ins
Product: Firefox → Core
Version: 16 Branch → Trunk
Assignee | ||
Comment 3•12 years ago
|
||
Sorry for the delay, will be looking into this tomorrow.
Assignee | ||
Comment 4•12 years ago
|
||
Comment on attachment 643078 [details] [diff] [review] fix v1.0 Review of attachment 643078 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me. Also tested and confirmed the mentioned use cases with the Adobe PDF and test plugin.
Attachment #643078 -
Flags: review?(georg.fritzsche) → review+
Assignee | ||
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 5•12 years ago
|
||
Did this need anything else done or did it just slip through the cracks?
Assignee | ||
Comment 7•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=19fc02872680
Assignee | ||
Comment 8•12 years ago
|
||
Attachment #643078 -
Attachment is obsolete: true
Attachment #686047 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 9•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1a19b1915392
Keywords: checkin-needed
Comment 10•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1a19b1915392
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•