RESOLVED FIXED 136234
Don't crash when the DataDetectors framework is unavailable.
https://bugs.webkit.org/show_bug.cgi?id=136234
Summary Don't crash when the DataDetectors framework is unavailable.
Brady Eidson
Reported 2014-08-25 15:00:05 PDT
Don't crash when the DataDetectors framework is unavailable. It's possible to run the same build of WebKit2 that expected DD.framework to be available in an environment that does not have it available. In that environment, it should just early-return by skipping a whole bunch of work that is irrelevant. In Radar - rdar://problem/18106066
Attachments
Patch v1 (1.68 KB, patch)
2014-08-25 15:05 PDT, Brady Eidson
thorton: review+
Brady Eidson
Comment 1 2014-08-25 15:05:06 PDT
Created attachment 237108 [details] Patch v1
Tim Horton
Comment 2 2014-08-25 15:21:47 PDT
Comment on attachment 237108 [details] Patch v1 Should you defend MenuUtilities.mm as well, or is it OK because we'll never get there with these early returns in place?
Brady Eidson
Comment 3 2014-08-25 15:25:21 PDT
(In reply to comment #2) > (From update of attachment 237108 [details]) > Should you defend MenuUtilities.mm as well, or is it OK because we'll never get there with these early returns in place? I couldn't find a way you'd end up in MenuUtilities with these in place. I'll double check.
Brady Eidson
Comment 4 2014-08-25 15:31:25 PDT
Note You need to log in before you can comment on or make changes to this bug.