Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 7900c68. rdar://122974809
Exception in WebKit::WebExtensionTab::processes(). https://webkit.org/b/269409 rdar://122974809 Reviewed by Jeff Miller and Brian Weinstein. When mainWebView() is nil, we need to be careful. Use [NSArray arrayWithObjects:] instead of [NSArray arrayWithObject:] since that will make a zero item array if the web view is nil, instead of throwing an exception. * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionTabCocoa.mm: (WebKit::WebExtensionTab::processes const): Canonical link: https://commits.webkit.org/274669@main Canonical link: https://commits.webkit.org/274594.3@safari-7619.1.4-branch
- Loading branch information