Bug 78861 - [WK2] Clearing notifications does not clean up internal state
Summary: [WK2] Clearing notifications does not clean up internal state
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.7
: P2 Normal
Assignee: Jon Lee
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-02-16 17:09 PST by Jon Lee
Modified: 2012-02-22 15:44 PST (History)
1 user (show)

See Also:


Attachments
Patch (5.84 KB, patch)
2012-02-16 17:17 PST, Jon Lee
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Lee 2012-02-16 17:09:43 PST
When the page clears notifications (URL changed, window closed, etc), the WebNotificationManager forwards that request to the client, but doesn't clean up its internal state. This could lead to notifications not being released when they should since the manager is still holding onto them.
Comment 1 Radar WebKit Bug Importer 2012-02-16 17:12:02 PST
<rdar://problem/10881167>
Comment 2 Jon Lee 2012-02-16 17:17:20 PST
Created attachment 127478 [details]
Patch
Comment 3 Jon Lee 2012-02-22 15:44:55 PST
Committed r108566: <http://trac.webkit.org/changeset/108566>