Bug 29172

Summary: [V8] OwnHandle might get a weak callback after destruction
Product: WebKit Reporter: Adam Barth <abarth>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dglazkov, levin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch v1 none

Description Adam Barth 2009-09-11 01:33:57 PDT
Be sure to clear our weak reference when we clear the OwnHandle to make sure we don't get a callback after we've destructed ourselves.
Comment 1 Adam Barth 2009-09-11 01:37:07 PDT
Created attachment 39416 [details]
Patch v1
Comment 2 Eric Seidel (no email) 2009-09-11 16:50:50 PDT
Comment on attachment 39416 [details]
Patch v1

Was this causing crashes?  Is this a testable change?
Comment 3 Adam Barth 2009-09-11 17:02:31 PDT
I don't know of any crashes that this causes.  This class currently has only one client.  I don't think it's testable currently.
Comment 4 Eric Seidel (no email) 2009-09-15 23:03:14 PDT
Comment on attachment 39416 [details]
Patch v1

You ChangeLog should mention that it's not testable.
Comment 5 WebKit Commit Bot 2009-09-17 12:59:58 PDT
Comment on attachment 39416 [details]
Patch v1

Clearing flags on attachment: 39416

Committed r48486: <http://trac.webkit.org/changeset/48486>
Comment 6 WebKit Commit Bot 2009-09-17 13:00:05 PDT
All reviewed patches have been landed.  Closing bug.