[Webkit-unassigned] [Bug 182352] [GTK] http/tests/misc/bubble-drag-events.html crashes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 19 23:17:46 PDT 2018


--- Comment #4 from Fujii Hironori <Hironori.Fujii at sony.com> ---
PingLoad is not a ref-count object.
PingLoad::didFinish deletes this.
PingLoad is destructed twice.
The first in completionHandler, and the second in didFinish.

> void PingLoad::didReceiveChallenge(const AuthenticationChallenge&, ChallengeCompletionHandler&& completionHandler)
> {
>     RELEASE_LOG_IF_ALLOWED("didReceiveChallenge");
>     completionHandler(AuthenticationChallengeDisposition::Cancel, { });
>     didFinish(ResourceError { String(), 0, currentURL(), ASCIILiteral("Failed HTTP authentication"), ResourceError::Type::AccessControl });
> }

It's unable to use protectThis ideom in this case because PingLoad is not a ref-count object.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180620/119e9235/attachment.html>

More information about the webkit-unassigned mailing list