Bug 45175 - [WebView unmarkAllTextMatches] will crash if the webview is already closed
Summary: [WebView unmarkAllTextMatches] will crash if the webview is already closed
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: John Sullivan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-09-03 08:07 PDT by John Sullivan
Modified: 2010-09-03 08:34 PDT (History)
0 users

See Also:


Attachments
Bail out if WebView is closed (2.32 KB, patch)
2010-09-03 08:12 PDT, John Sullivan
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Sullivan 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.
Comment 1 John Sullivan 2010-09-03 08:12:41 PDT
Created attachment 66495 [details]
Bail out if WebView is closed
Comment 2 John Sullivan 2010-09-03 08:34:03 PDT
Landed in r66733.