Bug 45175

Summary: [WebView unmarkAllTextMatches] will crash if the webview is already closed
Product: WebKit Reporter: John Sullivan <sullivan>
Component: WebKit APIAssignee: John Sullivan <sullivan>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Bail out if WebView is closed mitz: review+

John Sullivan
Reported 2010-09-03 08:07:43 PDT
[WebView unmarkAllTextMatches] should be robust if it's called when the webview is already closed. Radar bug 8391230 is a case where this crash can occur.
Attachments
Bail out if WebView is closed (2.32 KB, patch)
2010-09-03 08:12 PDT, John Sullivan
mitz: review+
John Sullivan
Comment 1 2010-09-03 08:12:41 PDT
Created attachment 66495 [details] Bail out if WebView is closed
John Sullivan
Comment 2 2010-09-03 08:34:03 PDT
Landed in r66733.
Note You need to log in before you can comment on or make changes to this bug.