It was added in http://trac.webkit.org/changeset/117590 for DRT, but not for WTR.
<rdar://problem/11508445>
I don't think this is a regression.
*** Bug 99069 has been marked as a duplicate of this bug. ***
Note that while investigating, https://bugs.webkit.org/show_bug.cgi?id=160713 was uncovered. Note that despite some of the comments in various configuration files, the two tests which call setAutomaticLinkDetectionEnabled and are still failing are doing so through a different mechanism than the ones corrected here.
Created attachment 285683 [details] Patch
Created attachment 285752 [details] Patch
Note that it is only Mac that implements the underlying functionality setAutomaticLinkDetectionEnabled is designed to test.
Comment on attachment 285752 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=285752&action=review > Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp:310 > + if (static_cast<bool>(enabled) == TextChecker::state().isAutomaticLinkDetectionEnabled) static_cast<bool>(enabled) is wrong here; just "enabled" will do > Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp:315 > + fputs("Automatic link detection undefined for this platform\n", stderr); Itβs not appropriate to write directly to stderr from this class. > Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:52 > + WK_EXPORT void WKBundleSetAutomaticLinkDetectionEnabled(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled); This should not be indented. Please match the lines above and below this.
Created attachment 286605 [details] Patch
Comment on attachment 286605 [details] Patch Requesting commit queue. The gtk-wk2 failure is unrelated to this patch.
Comment on attachment 286605 [details] Patch Clearing flags on attachment: 286605 Committed r205094: <http://trac.webkit.org/changeset/205094>
All reviewed patches have been landed. Closing bug.