Bug 78861

Summary: [WK2] Clearing notifications does not clean up internal state
Product: WebKit Reporter: Jon Lee <jonlee>
Component: New BugsAssignee: Jon Lee <jonlee>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.7   
Attachments:
Description Flags
Patch andersca: review+

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>