<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - REGRESSION (r197149): Missing availability checks when soft-linking DataDetectors.framework"
href="https://bugs.webkit.org/show_bug.cgi?id=155258">155258</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>REGRESSION (r197149): Missing availability checks when soft-linking DataDetectors.framework
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Other
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit Misc.
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ddkilzer@webkit.org
</td>
</tr>
<tr>
<th>CC</th>
<td>beidson@apple.com, sam@webkit.org, thorton@apple.com
</td>
</tr></table>
<p>
<div>
<pre>The DataDetectors.framework is not available in the Base System on Mac OS X, but the code that soft-linked the framework did not always check to see if the framework was available before trying to use classes, constants and functions from it.
When r197149 landed (as a follow-up fix for <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [Cocoa] Always check the return value of dlopen() and dlsym() in Release builds"
href="show_bug.cgi?id=154364">Bug 154364</a>), this caused the lack of runtime checking to turn into a release assert because Objective-C classes that were assumed to be available were actually not.
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [Cocoa] Always check the return value of dlopen() and dlsym() in Release builds"
href="show_bug.cgi?id=154364">Bug 154364</a>: [Cocoa] Always check the return value of dlopen() and dlsym() in Release builds
<<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [Cocoa] Always check the return value of dlopen() and dlsym() in Release builds"
href="show_bug.cgi?id=154364">https://bugs.webkit.org/show_bug.cgi?id=154364</a>>
<<a href="http://trac.webkit.org/changeset/197149">http://trac.webkit.org/changeset/197149</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>