Closed Bug 769200 Opened 12 years ago Closed 9 years ago

Necko fires two OnStopRequest events when an OOP HTTP channel fails

Categories

(Core :: Networking, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: justin.lebar+bug, Unassigned)

References

Details

Attachments

(1 file)

Attached file backtraces (deleted) —
We're calling OnStopRequest twice when an HTTP channel fails OOP. It looks like there's a nested event loop involved here somehow. See attached backtraces. To reproduce this, run the browser-element mochitests with the patch in bug 768842 applied. (TEST_PATH=dom/browser-element/mochitest make mochitest browser-plain.) This is a problem in bug 768842: It causes us to notify twice when we hit an error page.
Component: DOM: Mozilla Extensions → Networking
QA Contact: general → networking
The backtrace shows different channels and channel parents, for what its worth.
Indeed it does. I thought I'd checked that. It's possible these are backtraces from two separate runs, but they shouldn't be. I'll dig in more when I can.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: