[Webkit-unassigned] [Bug 102758] New: [Blackberry] When a frame is being detached, cancel all its network jobs.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 19 19:18:55 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=102758
Summary: [Blackberry] When a frame is being detached, cancel
all its network jobs.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit BlackBerry
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: chris.guan at torchmobile.com.cn
When a frame is being detached, cancel all its network jobs with exception of
PingLoader.
This is a follow-up of RIM PR134207.
Each NetworkJob contains a pointer to Frame. The safety relies on the
assumption that FrameLoader::stopAllLoaders() always cancels all network jobs
that belongs to the frame (except PingLoader, for which we unlink the
NetworkJob from the Frame, so it is safe). If one day that is no longer true,
we are in trouble.
We already maintain the full list of active NetworkJob in the NetworkManager
skeleton. So it is easy to cancel all network jobs that link to the
falling-down Frame if any, or clear their m_frame pointers... At least we
should assert no such NetworkJob exists in debug build.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list