Bug 263006

Summary: Crash caused by tabFocusesLinks property on macOS 10.12.3
Product: WebKit Reporter: Peter Xu <foolpermi>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Critical CC: ap, emw, kkinnunen, mitz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Mac (Intel)   
OS: Other   
See Also: https://bugs.webkit.org/show_bug.cgi?id=173508
Attachments:
Description Flags
Crash report screenshots none

Description Peter Xu 2023-10-11 04:12:36 PDT
Created attachment 468171 [details]
Crash report screenshots

#if !TARGET_OS_IPHONE
/*!
 @property tabFocusesLinks
 @abstract If tabFocusesLinks is YES, the tab key will focus links and form controls.
 The Option key temporarily reverses this preference.
 */
@property (nonatomic) BOOL tabFocusesLinks API_AVAILABLE(macos(10.12.3));
#endif


This property is marked available on macOS 10.12.3, and we just receive a crash report caused by this property. And we checked the source code of WebKit on macOS 10.12.3 from https://github.com/apple-oss-distributions/WebKit2/archive/WebKit2-7602.4.8.tar.gz, we just did not found this property. So I think you guys should update the API_AVAILABLE to macOS 10.12.4 to avoid crashes.
Comment 1 Elliott Williams 2023-10-11 15:55:27 PDT
Confirmed this property first appeared in macOS 10.12.4, not 10.12.3. Thanks for the report.
Comment 2 Elliott Williams 2023-10-11 16:03:13 PDT
rdar://116834122
Comment 3 EWS 2023-10-13 16:53:37 PDT
Committed 269329@main (044a95bedd14): <https://commits.webkit.org/269329@main>

Reviewed commits have been landed. Closing PR #18963 and removing active labels.