Bug 33813

Summary: Crash when using DOMApplicationCache from a destroyed frame
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore Misc.Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 33811    
Bug Blocks:    
Attachments:
Description Flags
proposed fix ggaren: review+

Description Alexey Proskuryakov 2010-01-18 14:26:27 PST
DOMApplicationCache::scriptExecutionContext() isn't prepared have its frame destroyed.

<rdar://problem/7545104>
Comment 1 Alexey Proskuryakov 2010-01-18 14:39:27 PST
Created attachment 46852 [details]
proposed fix
Comment 2 Geoffrey Garen 2010-01-18 14:45:35 PST
Comment on attachment 46852 [details]
proposed fix

r=me

I think you need a follow-up patch to fix callers of scriptExecutionContext() so they all check for null, though.
Comment 3 Alexey Proskuryakov 2010-01-18 14:52:16 PST
Committed <http://trac.webkit.org/changeset/53433>.