Bug 206799

Summary: Protect against crashes during WKWebView initialization when methods are called before the view is fully initialized
Product: WebKit Reporter: Darin Adler <darin>
Component: WebKit2Assignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, cdumez, commit-queue, sam, simon.fraser, webkit-bug-importer, wenson_hsieh
Priority: P1 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Darin Adler 2020-01-25 08:28:53 PST
Protect against crashes during WKWebView init function when methods are called before the view is fully initialized
Comment 1 Darin Adler 2020-01-25 08:34:57 PST
Created attachment 388776 [details]
Patch
Comment 2 Darin Adler 2020-01-25 08:34:59 PST
<rdar://problem/58871371>
Comment 3 WebKit Commit Bot 2020-01-26 14:14:55 PST
The commit-queue encountered the following flaky tests while processing attachment 388776 [details]:

fetch/fetch-worker-crash.html bug 187257 (author: youennf@gmail.com)
imported/w3c/web-platform-tests/xhr/event-abort.any.html bug 206677 (author: psaavedra@igalia.com)
The commit-queue is continuing to process your patch.
Comment 4 WebKit Commit Bot 2020-01-26 14:15:21 PST
Comment on attachment 388776 [details]
Patch

Clearing flags on attachment: 388776

Committed r255132: <https://trac.webkit.org/changeset/255132>
Comment 5 WebKit Commit Bot 2020-01-26 14:15:23 PST
All reviewed patches have been landed.  Closing bug.