Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 7900c68de6a3191a59ddff3938d08e3334189187 https://github.com/WebKit/WebKit/commit/7900c68de6a3191a59ddff3938d08e3334189187 Author: Timothy Hatcher <timo...@apple.com> Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths: M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionTabCocoa.mm Log Message: ----------- 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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes