Bug 193901 - WebUserContentController::removeUserScriptMessageHandlerInternal may deref and delete itself
Summary: WebUserContentController::removeUserScriptMessageHandlerInternal may deref an...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-01-28 04:25 PST by Antti Koivisto
Modified: 2019-01-28 05:15 PST (History)
3 users (show)

See Also:


Attachments
patch (1.64 KB, patch)
2019-01-28 04:29 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (1.71 KB, patch)
2019-01-28 04:30 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2019-01-28 04:25:01 PST
Removing a handler may remove the last ref to this.
Comment 1 Antti Koivisto 2019-01-28 04:29:00 PST
Created attachment 360330 [details]
patch
Comment 2 Antti Koivisto 2019-01-28 04:29:23 PST
<rdar://problem/47338669>
Comment 3 Antti Koivisto 2019-01-28 04:30:29 PST
Created attachment 360331 [details]
patch
Comment 4 David Kilzer (:ddkilzer) 2019-01-28 04:46:00 PST
Comment on attachment 360331 [details]
patch

r=me
Comment 5 WebKit Commit Bot 2019-01-28 05:15:08 PST
Comment on attachment 360331 [details]
patch

Clearing flags on attachment: 360331

Committed r240578: <https://trac.webkit.org/changeset/240578>
Comment 6 WebKit Commit Bot 2019-01-28 05:15:10 PST
All reviewed patches have been landed.  Closing bug.